diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-12-22 00:32:04 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-12-22 00:38:04 -0800 |
commit | 19960488441651d689259071fa1be4f6957d681b (patch) | |
tree | 80c5752ad4484361c74a081d06fb6e43632d860a /lib/rainbows/app_pool.rb | |
parent | ee7fe220ccbc991e1e7cbe982caf48e3303274c7 (diff) | |
download | rainbows-19960488441651d689259071fa1be4f6957d681b.tar.gz |
This is like the traditional FiberSpawn, but more scalable (but not necessarily faster) as it can use epoll or kqueue.
Diffstat (limited to 'lib/rainbows/app_pool.rb')
-rw-r--r-- | lib/rainbows/app_pool.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/app_pool.rb b/lib/rainbows/app_pool.rb index 036fe9c..a1a3119 100644 --- a/lib/rainbows/app_pool.rb +++ b/lib/rainbows/app_pool.rb @@ -91,7 +91,7 @@ module Rainbows # concurrency models self.re ||= begin case env["rainbows.model"] - when :FiberSpawn, :FiberPool, :Revactor, :NeverBlock + when :FiberSpawn, :FiberPool, :Revactor, :NeverBlock, :RevFiberSpawn self.pool = Rainbows::Fiber::Queue.new(pool) end true |