about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-05-05 07:16:48 +0000
committerEric Wong <normalperson@yhbt.net>2011-05-05 07:16:48 +0000
commit0efe7b677b076a32ef54e5f2f0a9861eb1f7f3d9 (patch)
tree23168a3c1fd0e3dddaa1caad7384752337f28e1b /lib
parent8fb350e00c1421907cbc36cbf29c499b8ad051e4 (diff)
downloadrainbows-0efe7b677b076a32ef54e5f2f0a9861eb1f7f3d9.tar.gz
It *can* have as many threads as it does idle connections.
Diffstat (limited to 'lib')
-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 cd289b7..8732e68 100644
--- a/lib/rainbows/http_server.rb
+++ b/lib/rainbows/http_server.rb
@@ -55,7 +55,7 @@ class Rainbows::HttpServer < Unicorn::HttpServer
     case @use
     when :ThreadSpawn, :ThreadPool, :ActorSpawn,
          :CoolioThreadSpawn, :RevThreadSpawn,
-         :WriterThreadPool, :WriterThreadSpawn
+         :XEpollThreadSpawn, :WriterThreadPool, :WriterThreadSpawn
       trysetrlimit(:RLIMIT_NPROC, @worker_connections + LISTENERS.size + 1)
     end
     super