about summary refs log tree commit homepage
path: root/lib/rainbows/coolio_thread_pool.rb
diff options
context:
space:
mode:
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'