unicorn-worker-killer
unicorn-worker-killer copied to clipboard
Enable manual requests of restarting in a clean manner
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.
@kzk would love to hear you thoughts about this.
@boazadato how has this been working for you? Curious if you've been using this in production with good results.
@stereoscott yeap its running production for a cpl of months, doing as expected.
@kzk any updates on this ? can this be merged ?