about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-21 00:16:57 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-21 00:16:57 -0800
commit805f0eba4f63d0c9020708e1122f64776933c06f (patch)
treec5d9ef5bc2f8b3d4944e658dd7ac60342a84ee3d /lib
parent1b024d48169442a5498d490699ea1eee41563587 (diff)
downloadrainbows-805f0eba4f63d0c9020708e1122f64776933c06f.tar.gz
It was based off the nginx window of 64 events.  Not that
any servers are really that busy...
Diffstat (limited to 'lib')
-rw-r--r--lib/rainbows/epoll/server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/epoll/server.rb b/lib/rainbows/epoll/server.rb
index 4586c95..1f61662 100644
--- a/lib/rainbows/epoll/server.rb
+++ b/lib/rainbows/epoll/server.rb
@@ -16,7 +16,7 @@ module Rainbows::Epoll::Server
   def self.run
     LISTENERS.each { |sock| sock.extend(self).epoll_enable(IN) }
     begin
-      EP.wait(100, 1000) { |_, obj| obj.epoll_run }
+      EP.wait(nil, 1000) { |_, obj| obj.epoll_run }
       while obj = ReRun.shift
         obj.epoll_run
       end