about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-24 09:27:31 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-24 09:27:31 -0700
commit3a624fe924b8f3a9dfdcf5222ed6d1968f462468 (patch)
treeaad05d118b1b3cf7dcc990e02d167c6465bab4ed
parentfef9051c74645bdd43488d44215fe912d0c033b6 (diff)
downloadunicorn-3a624fe924b8f3a9dfdcf5222ed6d1968f462468.tar.gz
Thanks to Greg Melton for reporting.
-rw-r--r--lib/unicorn/configurator.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index 80584f0..a074fcf 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -33,10 +33,11 @@ module Unicorn
   #     # will then kill off the old master process with a SIGQUIT.
   #     old_pid = "#{server.config[:pid]}.oldbin"
   #     if old_pid != server.pid
-  #     begin
-  #       sig = (worker.nr + 1) >= server.worker_processes ? :QUIT : :TTOU
-  #       Process.kill(sig, File.read(old_pid).to_i)
-  #     rescue Errno::ENOENT, Errno::ESRCH
+  #       begin
+  #         sig = (worker.nr + 1) >= server.worker_processes ? :QUIT : :TTOU
+  #         Process.kill(sig, File.read(old_pid).to_i)
+  #       rescue Errno::ENOENT, Errno::ESRCH
+  #       end
   #     end
   #
   #     # optionally throttle the master from forking too quickly by sleeping