diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-28 12:51:59 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-29 12:34:54 -0800 |
commit | c0187f8978919df981806b5b9830873ec0e3f990 (patch) | |
tree | 867f6062ce5ddd89c4ccc4693959b046b5c72544 | |
parent | 53624699c89c4529651153325b7e47696abb9788 (diff) | |
download | rainbows-c0187f8978919df981806b5b9830873ec0e3f990.tar.gz |
I so wish it used Fibers/green-threads underneath instead.
-rw-r--r-- | lib/rainbows/actor_spawn.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/actor_spawn.rb b/lib/rainbows/actor_spawn.rb index 7603734..2662f9f 100644 --- a/lib/rainbows/actor_spawn.rb +++ b/lib/rainbows/actor_spawn.rb @@ -16,6 +16,7 @@ module Rainbows # for connections and doesn't die until the parent dies (or is # given a INT, QUIT, or TERM signal) def worker_loop(worker) + Const::RACK_DEFAULTS["rack.multithread"] = true # :( init_worker_process(worker) limit = worker_connections nr = 0 |