diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-28 17:59:27 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-28 18:00:04 -0800 |
commit | 40445641f11f01c6a24bf96c8b80eed5fd33a512 (patch) | |
tree | 57a7652cc03f46407d51babfd04d72d1c401ac99 /lib/rainbows.rb | |
parent | 3495d59763e6159975debf32728dc53fc41c5ea1 (diff) | |
download | rainbows-40445641f11f01c6a24bf96c8b80eed5fd33a512.tar.gz |
complete Rev => Coolio renaming
We use Cool.io internally everywhere now, but preserve Rev-based models for anybody using them.
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r-- | lib/rainbows.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb index 951c3e5..a503bf0 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -54,14 +54,14 @@ module Rainbows # Sleeps the current application dispatch. This will pick the # optimal method to sleep depending on the concurrency model chosen # (which may still suck and block the entire process). Using this - # with the basic :Rev or :EventMachine models is not recommended. + # with the basic :Coolio or :EventMachine models is not recommended. # This should be used within your Rack application. def sleep(nr) case G.server.use when :FiberPool, :FiberSpawn Rainbows::Fiber.sleep(nr) when :RevFiberSpawn, :CoolioFiberSpawn - Rainbows::Fiber::Rev::Sleeper.new(nr) + Rainbows::Fiber::Coolio::Sleeper.new(nr) when :Revactor Actor.sleep(nr) else |