From ea6d0eab436c78113f8a61e7fcc34db4117d14c0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 20 May 2011 09:19:51 +0000 Subject: coolio* + *epoll*: drop keepalive clients on SIGQUIT In concurrency models long keepalive times are cheap (and thus more likely to be used), this allows Rainbows! to gracefully shut down more quickly. --- lib/rainbows/epoll.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/rainbows/epoll.rb') diff --git a/lib/rainbows/epoll.rb b/lib/rainbows/epoll.rb index 1a3427e..b9b3d9a 100644 --- a/lib/rainbows/epoll.rb +++ b/lib/rainbows/epoll.rb @@ -36,7 +36,6 @@ module Rainbows::Epoll def init_worker_process(worker) super Rainbows.const_set(:EP, SleepyPenguin::Epoll.new) - Rainbows.at_quit { Rainbows::EP.close } Rainbows::Client.__send__ :include, Client LISTENERS.each { |io| io.extend(Server) } end -- cgit v1.2.3-24-ge0c7