超时错误后 Lambda 是否继续工作?

Does Lambda continue works after timeOut ERROR?

我有一个 Lambda 函数,有时会出现超时错误。我想知道 Lambda 是在超时错误后完成事件循环任务,还是它失败并且什么都不做?看起来,Lambda 在超时错误后失败并且什么都不做。

是的,它们会在达到超时时终止。

When the specified timeout is reached, AWS Lambda terminates execution of your Lambda function.

为了完整起见:

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.

参考资料

AWS Lambda enables functions that can run up to 15 minutes

AWS Lambda Function Configuration - AWS Lambda