about summary refs log tree commit homepage
path: root/lib/rainbows/coolio_thread_pool.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-07 18:06:54 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-07 18:08:25 -0800
commit37ec9ef3272931f42b4b0bb3f04a3855a8702a05 (patch)
tree9b491e4335e2f490a4b502326ca86fbba76034c6 /lib/rainbows/coolio_thread_pool.rb
parentf6d448bc21c3bde3ab39b55664722b40f5801c20 (diff)
downloadrainbows-37ec9ef3272931f42b4b0bb3f04a3855a8702a05.tar.gz
We don't want that loaded in the parent process since
we want config reloadability.
Diffstat (limited to 'lib/rainbows/coolio_thread_pool.rb')
-rw-r--r--lib/rainbows/coolio_thread_pool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/coolio_thread_pool.rb b/lib/rainbows/coolio_thread_pool.rb
index d0a359e..3d32bfb 100644
--- a/lib/rainbows/coolio_thread_pool.rb
+++ b/lib/rainbows/coolio_thread_pool.rb
@@ -16,6 +16,7 @@
 # users are NOT advised to use this due to high CPU usage.
 module Rainbows::CoolioThreadPool
   # :stopdoc:
+  autoload :Client, 'rainbows/coolio_thread_pool/client'
   DEFAULTS = {
     :pool_size => 20, # same default size as ThreadPool (w/o Coolio)
   }
@@ -53,5 +54,4 @@ module Rainbows::CoolioThreadPool
   end
 end
 # :enddoc:
-require 'rainbows/coolio_thread_pool/client'
 require 'rainbows/coolio_thread_pool/watcher'