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

Enable manual requests of restarting in a clean manner #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

boazadato
Copy link

Enable manual requests of restarting in a clean manner by calling Unicorn::WorkerKiller::DelayedRestart.restart_worker_in_a_delayed_manner!

Example: Useful for rack-timeout handling where we want to catch & report the timeout (as recommended by heroku) and still restart the worker out of the request context and avoid H13 errors.

…icorn::WorkerKiller::DelayedRestart.restart_worker_in_a_delayed_manner!+
@boazadato
Copy link
Author

@kzk would love to hear you thoughts about this.

@stereoscott
Copy link

@boazadato how has this been working for you? Curious if you've been using this in production with good results.

@boazadato
Copy link
Author

@stereoscott yeap its running production for a cpl of months, doing as expected.

@dorongutman
Copy link

@kzk any updates on this ? can this be merged ?

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.

3 participants