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-19 15:06:10 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-19 15:06:27 -0800
commit9424b13255a238dfa44952ebeb07bea3acee999c (patch)
tree9a517e9b22a3cc73c9ad16c9288eedf09ac18b8a /lib/rainbows/http_server.rb
parent7a04133c1ab57923cac8a9de04b00bfe89bcce2d (diff)
downloadrainbows-9424b13255a238dfa44952ebeb07bea3acee999c.tar.gz
Coolio and EventMachine only use level-triggered epoll,
but being Rainbows!, we live on the EDGE!
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 84d5a32..a9767bf 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,
+      'rainbows.autochunk' => [:Coolio,:Rev,:Epoll,
                                :EventMachine,:NeverBlock].include?(@use),
     }
     Rainbows::Const::RACK_DEFAULTS.update(new_defaults)