diff options
Diffstat (limited to 'lib')
-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 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 |