unicorn-worker-killer icon indicating copy to clipboard operation
unicorn-worker-killer copied to clipboard

Enable manual requests of restarting in a clean manner

Open boazadato opened this issue 9 years ago • 4 comments

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.

boazadato avatar May 19 '15 08:05 boazadato

@kzk would love to hear you thoughts about this.

boazadato avatar May 19 '15 08:05 boazadato

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

stereoscott avatar Nov 18 '15 06:11 stereoscott

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

boazadato avatar Nov 18 '15 15:11 boazadato

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

dorongutman avatar Jun 22 '16 15:06 dorongutman