about summary refs log tree commit homepage
path: root/lib/rainbows/thread_pool.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-03 16:14:57 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-03 16:17:16 -0700
commit5b14ec54da4b3dcd52c8755b6a036e5e94a565d1 (patch)
treeea90c4450dee5442fbcb9a804513211b2f035af0 /lib/rainbows/thread_pool.rb
parenta86d3be33ef2b433370df66d2ba026ab03b305b7 (diff)
downloadrainbows-5b14ec54da4b3dcd52c8755b6a036e5e94a565d1.tar.gz
They're similar enough (especially as far as the constants go)
and allows a :Base to be used which basically acts like plain
Unicorn but with HTTP keepalive + pipelining support
Diffstat (limited to 'lib/rainbows/thread_pool.rb')
-rw-r--r--lib/rainbows/thread_pool.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rainbows/thread_pool.rb b/lib/rainbows/thread_pool.rb
index 104bd38..e12559a 100644
--- a/lib/rainbows/thread_pool.rb
+++ b/lib/rainbows/thread_pool.rb
@@ -4,9 +4,7 @@ module Rainbows
 
   module ThreadPool
 
-    include ThreadBase
-
-    HttpServer.constants.each  { |x| const_set(x, HttpServer.const_get(x)) }
+    include Base
 
     def worker_loop(worker)
       init_worker_process(worker)