diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-18 20:08:17 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-18 21:23:43 -0700 |
commit | d0103759ae63b0ed1084f6a9d2b7ede538e8c871 (patch) | |
tree | 1654a57b7702c527dffc0488cce764b63a5e85ec /lib | |
parent | 87a9cf757bbef7bb54a187933c1bc61ed1f05583 (diff) | |
download | rainbows-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.rb | 2 |
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) |