event_machine: disconnect idle clients at on SIGQUIT
commit5d5033afa9052dc0d60e743f07bc694f008182b3
authorEric Wong <normalperson@yhbt.net>
Fri, 20 May 2011 21:22:37 +0000 (20 14:22 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 20 May 2011 21:23:57 +0000 (20 14:23 -0700)
tree88a42d045ac4fc87f5bb69482d4a4ddaf4360d00
parentbba079d8a605b546bc262e80234c3c233a386e44
event_machine: disconnect idle clients at on SIGQUIT

Since it's cheap to maintain keepalive clients with EM, we need
a way of disconnecting them in a timely fashion on rare SIGQUIT
events.
lib/rainbows/event_machine.rb