about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-05-17 11:36:56 -0700
committerEric Wong <normalperson@yhbt.net>2010-05-17 11:36:56 -0700
commit48313f442f53dfdb4ba24bbb12fc91f5c47a24ec (patch)
tree1d8ede5acd7f28b3321134b0b293ae9efb6f3b96 /lib/rainbows.rb
parent2260d56329b036bcce7eb69831d3e480334d283c (diff)
downloadrainbows-48313f442f53dfdb4ba24bbb12fc91f5c47a24ec.tar.gz
Idle threads are cheap enough and having responses
queued up with a single slow client on a large response
is bad.
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb2
1 files changed, 1 insertions, 1 deletions
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,