Skip to content

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