4 class Configurator < ::Unicorn::Configurator
8 model = Rainbows.const_get(model)
10 raise ArgumentError, "concurrency model #{model.inspect} not supported"
14 raise ArgumentError, "concurrency model #{model.inspect} not supported"
18 def worker_connections(nr)
19 (Integer === nr && nr > 0) || nr.nil? or
20 raise ArgumentError, "worker_connections must be an Integer or nil"