about summary refs log tree commit homepage
path: root/lib/rainbows/http_server.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-24 20:04:20 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-24 20:07:09 -0800
commit667b05819b85165061c445fb2c75ef161a5de5b6 (patch)
treeaf69ab3fe1f143c408c6c9013debf1c9afe26c72 /lib/rainbows/http_server.rb
parent9f7f497dc21d904a1af20465318d85811daf0652 (diff)
downloadrainbows-667b05819b85165061c445fb2c75ef161a5de5b6.tar.gz
Edge-triggered epoll concurrency model with blocking accept() in
a (hopefully) native thread.  This is recommended over Epoll for
Ruby 1.9 users as it can workaround accept()-scalability issues
on multicore machines.
Diffstat (limited to 'lib/rainbows/http_server.rb')
-rw-r--r--lib/rainbows/http_server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/http_server.rb b/lib/rainbows/http_server.rb
index a9767bf..91c6cad 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,
+      'rainbows.autochunk' => [:Coolio,:Rev,:Epoll,:XAcceptEpoll,
                                :EventMachine,:NeverBlock].include?(@use),
     }
     Rainbows::Const::RACK_DEFAULTS.update(new_defaults)