logger.resetKeys behavior during timeout #3636
-
I see in the sample, the finally block calls |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @adxzhang1, when there's a timeout the AWS Lambda service shuts down that execution environment and recycles it. So in practice, even if we don't clear the keys the state is lost, and a subsequent request would use another sandbox. This is documented here:
|
Beta Was this translation helpful? Give feedback.
Hi @adxzhang1, when there's a timeout the AWS Lambda service shuts down that execution environment and recycles it. So in practice, even if we don't clear the keys the state is lost, and a subsequent request would use another sandbox.
This is documented here: