diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-21 00:16:57 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-21 00:16:57 -0800 |
commit | 805f0eba4f63d0c9020708e1122f64776933c06f (patch) | |
tree | c5d9ef5bc2f8b3d4944e658dd7ac60342a84ee3d /lib/rainbows | |
parent | 1b024d48169442a5498d490699ea1eee41563587 (diff) | |
download | rainbows-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/rainbows')
-rw-r--r-- | lib/rainbows/epoll/server.rb | 2 |
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 |