diff options
author | Eric Wong <e@80x24.org> | 2014-05-09 01:29:39 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-05-09 06:30:19 +0000 |
commit | 0c20f34c3d54e1c3d7b7a811c401e6858196e8a7 (patch) | |
tree | 1675a6e5211082b8829bec6ae33903db8241fc7d /lib/yahns/server.rb | |
parent | dc55ac157cd8f7e55339e8b1e36d2a3978934a15 (diff) | |
download | yahns-0c20f34c3d54e1c3d7b7a811c401e6858196e8a7.tar.gz |
This prevents potential errors and compatibility problems with buggy libraries which do not respond well to signal delivery. Based on unicorn commit 6f6e4115b4bb03e5e7c55def91527799190566f2
Diffstat (limited to 'lib/yahns/server.rb')
-rw-r--r-- | lib/yahns/server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/server.rb b/lib/yahns/server.rb index a6462df..3f1f6ab 100644 --- a/lib/yahns/server.rb +++ b/lib/yahns/server.rb @@ -285,7 +285,7 @@ class Yahns::Server # :nodoc: @logger.info "reloading config_file=#{@config.config_file}" @config.config_reload! @config.commit!(self) - kill_each_worker(:QUIT) + soft_kill_each_worker("QUIT") Yahns::Log.reopen_all @logger.info "done reloading config_file=#{@config.config_file}" rescue StandardError, LoadError, SyntaxError => e |