diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-12-05 17:37:24 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-12-05 17:37:24 -0800 |
commit | ca15225e266a84489d8b05adaa948b3912280094 (patch) | |
tree | 3764547b0fc4fb0e33f5f4bacc2c4753dfdd996c | |
parent | ed1d5f187de90105b1d01d3d8711eba14115ccf0 (diff) | |
download | rainbows-ca15225e266a84489d8b05adaa948b3912280094.tar.gz |
This matches what EM sets for its built-in thread pool
-rw-r--r-- | lib/rainbows.rb | 2 | ||||
-rw-r--r-- | lib/rainbows/rev_thread_pool.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb index e42f6cf..eb50f34 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -77,7 +77,7 @@ module Rainbows :Base => 1, # this one can't change :Revactor => 50, :ThreadSpawn => 30, - :ThreadPool => 10, + :ThreadPool => 20, :Rev => 50, :RevThreadSpawn => 50, :RevThreadPool => 50, diff --git a/lib/rainbows/rev_thread_pool.rb b/lib/rainbows/rev_thread_pool.rb index 47b451e..cb51566 100644 --- a/lib/rainbows/rev_thread_pool.rb +++ b/lib/rainbows/rev_thread_pool.rb @@ -22,7 +22,7 @@ module Rainbows module RevThreadPool DEFAULTS = { - :pool_size => 10, # same default size as ThreadPool (w/o Rev) + :pool_size => 20, # same default size as ThreadPool (w/o Rev) } def self.setup |