Displaying 1 result from an estimated 1 matches for "kill_each_work".
Did you mean:
kill_each_worker
2013 Dec 09
2
[PATCH] rework master-to-worker signaling to use a pipe
...in case people get
# trigger happy and send signals as soon as the pid file exists.
@@ -306,14 +298,14 @@ class Unicorn::HttpServer
logger.info "master reopening logs..."
Unicorn::Util.reopen_logs
logger.info "master done reopening logs"
- kill_each_worker(:USR1)
+ soft_kill_each_worker(:USR1)
when :USR2 # exec binary, stay alive in case something went wrong
reexec
when :WINCH
if Unicorn::Configurator::RACKUP[:daemonized]
respawn = false
logger.info "gracefully stopping all workers&q...