From 48313f442f53dfdb4ba24bbb12fc91f5c47a24ec Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 17 May 2010 11:36:56 -0700 Subject: WriterThreadPool: default concurrency to 20 pools Idle threads are cheap enough and having responses queued up with a single slow client on a large response is bad. --- lib/rainbows.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows.rb') diff --git a/lib/rainbows.rb b/lib/rainbows.rb index d97262f..f01c942 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -134,7 +134,7 @@ module Rainbows # highly recommended MODEL_WORKER_CONNECTIONS = { :Base => 1, # this one can't change - :WriterThreadPool => 1, + :WriterThreadPool => 20, :Revactor => 50, :ThreadSpawn => 30, :ThreadPool => 20, -- cgit v1.2.3-24-ge0c7