diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-27 03:01:47 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-27 03:01:47 +0000 |
commit | abb3f7e057bd5fb0aa97cae1410ce2f55ba12b9c (patch) | |
tree | d1c3b355c19312e7fb5585e7c833519bcef373b6 /lib/rainbows/fiber/base.rb | |
parent | 2d25a86d1d17bd966eea59e5666e41d9da562811 (diff) | |
download | rainbows-abb3f7e057bd5fb0aa97cae1410ce2f55ba12b9c.tar.gz |
Less visual noise
Diffstat (limited to 'lib/rainbows/fiber/base.rb')
-rw-r--r-- | lib/rainbows/fiber/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/fiber/base.rb b/lib/rainbows/fiber/base.rb index 69bf5d9..ccfda96 100644 --- a/lib/rainbows/fiber/base.rb +++ b/lib/rainbows/fiber/base.rb @@ -22,7 +22,7 @@ module Rainbows::Fiber::Base G.tick RD.compact.each { |c| c.f.resume } # attempt to time out idle clients t = schedule_sleepers - Kernel.select(RD.compact.concat(LISTENERS), WR.compact, nil, t) or return + select(RD.compact.concat(LISTENERS), WR.compact, nil, t) or return rescue Errno::EINTR retry rescue Errno::EBADF, TypeError |