diff options
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 4f3ffd8..c0d2ba7 100644 --- a/lib/rainbows/fiber_pool.rb +++ b/lib/rainbows/fiber_pool.rb @@ -21,7 +21,7 @@ module Rainbows pool = [] worker_connections.times { ::Fiber.new { - process_client(::Fiber.yield) while pool << ::Fiber.current + process(::Fiber.yield) while pool << ::Fiber.current }.resume # resume to hit ::Fiber.yield so it waits on a client } Fiber::Base.setup(self.class, app) |