Hi there,
The README states:
Enables graceful shutdown
I am trying to find some more information about how this works. I managed to find:
- Example for expressjs
- Hints that we might receive a SIGTERM
- Lambda extensions docs talks about a shutdown phase
- If I am understanding this correctly...
- We receive a SIGTERM
- Have between 1500-1700ms to shut down depending on whether we use an internal extension or not
- 2s - 300ms = 1700ms, with no other extensions
- 2s - 500ms = 1500ms, if Lambda has additional internal extensions
- Receive SIGKILL after 2s if we have not exited
Could you please confirm this is correct when using Lambda Web Adapter?
(If so maybe we can update the README with some more info to explain it.)
Thanks!
Hi there,
The README states:
I am trying to find some more information about how this works. I managed to find:
Could you please confirm this is correct when using Lambda Web Adapter?
(If so maybe we can update the README with some more info to explain it.)
Thanks!