From ca15225e266a84489d8b05adaa948b3912280094 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 5 Dec 2009 17:37:24 -0800 Subject: larger thread pool default sizes ({Rev,}ThreadPool) This matches what EM sets for its built-in thread pool --- lib/rainbows.rb | 2 +- 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 -- cgit v1.2.3-24-ge0c7