diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-11 01:51:27 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-11 01:51:27 -0700 |
commit | 03b7904f597d80ed7c8e5ae19e2af8d0e0c581ba (patch) | |
tree | 957914a5e7fd5d197455e056f33aff6b96843d1d /lib/rainbows/revactor.rb | |
parent | 427ac38fe3eeadad1d6fb897bd835607a9372aad (diff) | |
download | rainbows-03b7904f597d80ed7c8e5ae19e2af8d0e0c581ba.tar.gz |
This can be common across everything
Diffstat (limited to 'lib/rainbows/revactor.rb')
-rw-r--r-- | lib/rainbows/revactor.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rainbows/revactor.rb b/lib/rainbows/revactor.rb index 95cf8fe..006a3b1 100644 --- a/lib/rainbows/revactor.rb +++ b/lib/rainbows/revactor.rb @@ -78,10 +78,6 @@ module Rainbows init_worker_process(worker) alive = worker.tmp # tmp is our lifeline to the master process - trap(:USR1) { reopen_worker_logs(worker.nr) } - trap(:QUIT) { alive = false; LISTENERS.each { |s| s.close rescue nil } } - [:TERM, :INT].each { |sig| trap(sig) { exit!(0) } } # instant shutdown - root = Actor.current root.trap_exit = true |