내용으로 건너뛰기

Time out invoke command lambda

0

I am working with AWS Lambda. Can you tell me what the maximum timeout duration for InvokeCommand is for versions 2 and 3?

질문됨 2년 전774회 조회

2개 답변
1

I think you are referring to the Nodejs SDK timeout. This can actually be configured using the httpConfig.timeout parameter in V2 and NodeHttpHandler options. You can find more information about using it in both versions here.

AWS
전문가

답변함 2년 전

0

In the documentation the maximum duration for Lambda runtime is stated as 900 seconds (15 minutes).

Version 2 and 3 of what?

전문가

답변함 2년 전

전문가

검토됨 2년 전

  • No, the invokeCommand timeout for version 2 is 120s, right? And for version 3, I haven't found the related documentation.

  • Yes, I have Lambda A calling InvokeCommand to Lambda B written in Node.js. Lambda B takes 250 seconds to complete, and Lambda A waits but reports a timeout after 120 seconds. This happens in version 2, but in version 3, it doesn't happen.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠