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 2a1c5f7..745e2a5 100644 --- a/lib/rainbows/fiber_pool.rb +++ b/lib/rainbows/fiber_pool.rb @@ -24,7 +24,7 @@ module Rainbows process_client(::Fiber.yield) while pool << ::Fiber.current }.resume # resume to hit ::Fiber.yield so it waits on a client } - Fiber::Base.const_set(:APP, app) + Fiber::Base.setup(self.class, app) begin schedule do |l| |