diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-03 16:14:57 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-03 16:17:16 -0700 |
commit | 5b14ec54da4b3dcd52c8755b6a036e5e94a565d1 (patch) | |
tree | ea90c4450dee5442fbcb9a804513211b2f035af0 /lib/rainbows/thread_pool.rb | |
parent | a86d3be33ef2b433370df66d2ba026ab03b305b7 (diff) | |
download | rainbows-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.rb | 4 |
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) |