about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-05-26 22:50:15 +0000
committerEric Wong <normalperson@yhbt.net>2010-05-26 22:50:15 +0000
commit371f05992110616412c57a26fb6688dc2111c65d (patch)
tree691e25d497e634d4ae84461c92c1a6a5c7a801c0 /lib/rainbows.rb
parent904526129a2377306a735c73b26699583b3b99c5 (diff)
downloadrainbows-371f05992110616412c57a26fb6688dc2111c65d.tar.gz
This should be logical, since we keep the connection alive
when writing in our writer threads.
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 41d436e..dac68c2 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -135,7 +135,7 @@ module Rainbows
   MODEL_WORKER_CONNECTIONS = {
     :Base => 1, # this one can't change
     :WriterThreadPool => 20,
-    :WriterThreadSpawn => 1,
+    :WriterThreadSpawn => 20,
     :Revactor => 50,
     :ThreadSpawn => 30,
     :ThreadPool => 20,