about summary refs log tree commit homepage
path: root/lib/rainbows/fiber_pool.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/fiber_pool.rb')
-rw-r--r--lib/rainbows/fiber_pool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/fiber_pool.rb b/lib/rainbows/fiber_pool.rb
index ff693fa..6cb2ca6 100644
--- a/lib/rainbows/fiber_pool.rb
+++ b/lib/rainbows/fiber_pool.rb
@@ -32,7 +32,7 @@ module Rainbows
       begin
         ret = begin
           G.tick
-          IO.select(rd.keys.concat(LISTENERS), wr.keys, nil, 1) or next
+          IO.select(rd.keys.concat(LISTENERS), wr.keys, nil, timer) or next
         rescue Errno::EINTR
           retry
         rescue Errno::EBADF, TypeError