diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-02-04 18:58:26 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-02-04 18:58:26 -0800 |
commit | 8e2e8adda8adbadee8ab31cde700b7e486b1154c (patch) | |
tree | b4fadc909c9636486ee8e1bebd735786063b9af7 /lib/rainbows/http_server.rb | |
parent | 0f4f015737297ac5245d0be9ee83553770ade0a9 (diff) | |
download | rainbows-8e2e8adda8adbadee8ab31cde700b7e486b1154c.tar.gz |
It's too long especially since XEpollThreadPool is planned :>
Diffstat (limited to 'lib/rainbows/http_server.rb')
-rw-r--r-- | lib/rainbows/http_server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/http_server.rb b/lib/rainbows/http_server.rb index 91c6cad..236c379 100644 --- a/lib/rainbows/http_server.rb +++ b/lib/rainbows/http_server.rb @@ -72,7 +72,7 @@ class Rainbows::HttpServer < Unicorn::HttpServer new_defaults = { 'rainbows.model' => (@use = model.to_sym), 'rack.multithread' => !!(model.to_s =~ /Thread/), - 'rainbows.autochunk' => [:Coolio,:Rev,:Epoll,:XAcceptEpoll, + 'rainbows.autochunk' => [:Coolio,:Rev,:Epoll,:XEpoll, :EventMachine,:NeverBlock].include?(@use), } Rainbows::Const::RACK_DEFAULTS.update(new_defaults) |