about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-18 20:08:17 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-18 21:23:43 -0700
commitd0103759ae63b0ed1084f6a9d2b7ede538e8c871 (patch)
tree1654a57b7702c527dffc0488cce764b63a5e85ec /lib
parent87a9cf757bbef7bb54a187933c1bc61ed1f05583 (diff)
downloadrainbows-d0103759ae63b0ed1084f6a9d2b7ede538e8c871.tar.gz
Like everybody else... Closing the listener sockets doesn't seem
to wakeup the actors reliably and since it's easier to use a 1
second heartbeat than correct signal/messaging for all the rest
of the other clients, we'll just do that instead of relying on
one-off signal handlers.
Diffstat (limited to 'lib')
-rw-r--r--lib/rainbows/revactor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/revactor.rb b/lib/rainbows/revactor.rb
index 3db1062..d9f246b 100644
--- a/lib/rainbows/revactor.rb
+++ b/lib/rainbows/revactor.rb
@@ -112,7 +112,7 @@ module Rainbows
 
       begin
         Actor.receive do |filter|
-          filter.after(timeout, &check_quit)
+          filter.after(1, &check_quit)
           filter.when(Case[:exit, Actor, Object]) do |_,actor,_|
             orig = clients.size
             clients.delete(actor.object_id)