about summary refs log tree commit homepage
path: root/lib/rainbows/fiber_pool.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-10-21 16:25:39 -0700
committerEric Wong <normalperson@yhbt.net>2010-10-22 18:37:45 +0000
commit15631717fce044fbad2f386a7b1c7daf4bdd83d2 (patch)
treef32c80aafb8b5fe13fefe9a1e3765dd757ccde7d /lib/rainbows/fiber_pool.rb
parentd4a2b5dd2b85f4b2d3bb120ee1e1b0dde31bc25c (diff)
downloadrainbows-15631717fce044fbad2f386a7b1c7daf4bdd83d2.tar.gz
Despite the large number of changes, most of it is code
movement here.
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 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)