Skip to content
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

upon reload send a SIGTERM first, then a SIGKILL as a last resort #48

Merged
merged 6 commits into from
Mar 7, 2019

Conversation

mmerickel
Copy link
Member

fixes #47

This changes the shutdown process when a reload is triggered to a graceful SIGTERM, followed by shutdown_interval, then SIGKILL if necessary. It also modifies the SIGINT process to wait shutdown_interval seconds instead of reload_inteval seconds and then issues a SIGKILL instead of a SIGTERM. Summary:

Ctrl-C -> SIGINT -> shutdown_interval -> SIGKILL
file change / reload -> SIGTERM -> shutdown_interval -> SIGKILL

@mmerickel mmerickel merged commit c10ac9d into Pylons:master Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Worker termination by reloader may hang forever
2 participants