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.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.rb')
-rw-r--r-- | lib/rainbows.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb index 4b80056..64c4d9e 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -87,6 +87,7 @@ module Rainbows :FiberPool => 50, :ActorSpawn => 50, :NeverBlock => 50, + :RevFiberSpawn => 50, }.each do |model, _| u = model.to_s.gsub(/([a-z0-9])([A-Z0-9])/) { "#{$1}_#{$2.downcase!}" } autoload model, "rainbows/#{u.downcase!}" |