diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-26 23:52:43 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-26 23:52:43 +0000 |
commit | c4d92b384dd3f926fa12eb704eeef663a9cb7b66 (patch) | |
tree | cf369801f6d7661d7a56bf077095559905d4f9cc /lib/rainbows/fiber_pool.rb | |
parent | 2e131bfd21f5ec5acc3c86233e5e292cec7aa67d (diff) | |
download | rainbows-c4d92b384dd3f926fa12eb704eeef663a9cb7b66.tar.gz |
This should make things easier on the eyes.
Diffstat (limited to 'lib/rainbows/fiber_pool.rb')
-rw-r--r-- | lib/rainbows/fiber_pool.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/fiber_pool.rb b/lib/rainbows/fiber_pool.rb index e178154..c62345d 100644 --- a/lib/rainbows/fiber_pool.rb +++ b/lib/rainbows/fiber_pool.rb @@ -19,7 +19,7 @@ module Rainbows::FiberPool worker_connections.times { Fiber.new { process(Fiber.yield) while pool << Fiber.current - }.resume # resume to hit ::Fiber.yield so it waits on a client + }.resume # resume to hit Fiber.yield so it waits on a client } Rainbows::Fiber::Base.setup(self.class, app) |