-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
graceful shutdowns #31
Comments
I've been struggling with this also. We forked the start script and trapped the |
Ouch! I looked into the source and there's a
If we could land a change in Nginx to wrap those two within |
👀 Any updates on this? |
@mguida22 this is outside of the scope of this buildpack. it has to do with the Heroku platform itself and how nginx works. there is nothing this buildpack can do. |
@beanieboi thanks for the reply! Is there a better place to bring up this issue with the Heroku platform? |
@mguida22 This is a known issue and since this i a behavior of the platform for a long time, i believe there is no way to fix it without breaking a lot of applications. I think our only chance is to patch nginx to react differently. We do this in the pgbouncer buildpack and it works ok. |
… on SIGQUIT. Fixes heroku#31
… on SIGQUIT. Fixes heroku#31
Hello 👋, I'm having a little trouble making sure that my server restarts gracefully. I have my script waiting for
SIGTERM
but it doesn't seem like they get called, is there a way I can watch for them and pass them to my (node) app? 😄The text was updated successfully, but these errors were encountered: