about summary refs log tree commit homepage
path: root/lib/rainbows/epoll.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-05-20 09:19:51 +0000
committerEric Wong <normalperson@yhbt.net>2011-05-20 09:21:18 +0000
commitea6d0eab436c78113f8a61e7fcc34db4117d14c0 (patch)
treed70b0bd67e444997f4122c246ce438dc449242ce /lib/rainbows/epoll.rb
parent90af18f6884857704d72fd6b2bb91718aad72117 (diff)
downloadrainbows-ea6d0eab436c78113f8a61e7fcc34db4117d14c0.tar.gz
In concurrency models long keepalive times are cheap (and thus
more likely to be used), this allows Rainbows! to gracefully
shut down more quickly.
Diffstat (limited to 'lib/rainbows/epoll.rb')
-rw-r--r--lib/rainbows/epoll.rb1
1 files changed, 0 insertions, 1 deletions
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