about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/rainbows/epoll.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rainbows/epoll.rb b/lib/rainbows/epoll.rb
index 599c969..893a315 100644
--- a/lib/rainbows/epoll.rb
+++ b/lib/rainbows/epoll.rb
@@ -31,9 +31,8 @@ module Rainbows::Epoll
   end
 
   def self.loop
-    timeout = Rainbows.server.timeout
     begin
-      EP.wait(nil, timeout) { |flags, obj| obj.epoll_run }
+      EP.wait(nil, 1000) { |flags, obj| obj.epoll_run }
       while obj = ReRun.shift
         obj.epoll_run
       end