diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-13 21:39:03 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-13 21:39:03 -0800 |
commit | 8215e3d17884e6e08d552ae89e067edd331ea05b (patch) | |
tree | 92b331a5bc417886ee39e4329af814f16e57f212 /lib | |
parent | 225a108c5326fdc1a00531908a2278c06ac782f6 (diff) | |
download | unicorn-8215e3d17884e6e08d552ae89e067edd331ea05b.tar.gz |
Since dying children can be a sign that something is wrong with the app itself, continue to use the 1 wakeup/sec throttle and don't wake the master immediately.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicorn.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index df94a96..f53623e 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -159,7 +159,7 @@ module Unicorn @rd_sig, @wr_sig = IO.pipe unless (@rd_sig && @wr_sig) @rd_sig.nonblock = @wr_sig.nonblock = true - %w(CHLD QUIT INT TERM USR1 USR2 HUP).each { |sig| trap_deferred(sig) } + %w(QUIT INT TERM USR1 USR2 HUP).each { |sig| trap_deferred(sig) } $0 = "unicorn master" begin loop do |