appengine
appengine copied to clipboard
Verify that runAppEngine gracefully shutsdown on SIGTERM
This could explain why gcloud app version stop <version> takes in the range of 20 minutes for ~16 VMs.
I'm not sure if this is done yet, from a quick scan of the code it doesn't seem like it.
Note. sigterm is documented in the appengine flex docs: https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build#handling_lifecycle_events