Just reading render notes on Zero Downtime Deploys
After the new app is deployed and healthy, it mentions the following
- We terminate the old version at this point by sending your app a
SIGTERM
signal. Most web servers automatically interceptSIGTERM
and shut down gracefully. There is a grace period of 30 seconds to shut everything down. If your app is still up after 30 seconds, it is shut down via aSIGKILL
signal.
After the old app receives SIGTERM
, what happens to the pending request if they don’t finish by the time SIGKILL
is sent?