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/xepoll.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/rainbows/xepoll.rb') diff --git a/lib/rainbows/xepoll.rb b/lib/rainbows/xepoll.rb index b99a66d..91ecfd2 100644 --- a/lib/rainbows/xepoll.rb +++ b/lib/rainbows/xepoll.rb @@ -20,7 +20,6 @@ module Rainbows::XEpoll def init_worker_process(worker) super Rainbows.const_set(:EP, SleepyPenguin::Epoll.new) - Rainbows.at_quit { Rainbows::EP.close } Rainbows::Client.__send__ :include, Client end -- cgit v1.2.3-24-ge0c7