about summary refs log tree commit homepage
path: root/lib/rainbows/http_server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/http_server.rb')
-rw-r--r--lib/rainbows/http_server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/http_server.rb b/lib/rainbows/http_server.rb
index 8fdecb6..0d9ef35 100644
--- a/lib/rainbows/http_server.rb
+++ b/lib/rainbows/http_server.rb
@@ -15,9 +15,9 @@ module Rainbows
 
     def initialize(app, options)
       @@instance = self
-      @worker_connections = 1
       rv = super(app, options)
       defined?(@use) or use(:Base)
+      @worker_connections ||= MODEL_WORKER_CONNECTIONS[@use]
     end
 
     def use(*args)