1 # -*- encoding: binary -*-
3 module Rainbows::PoolSize
5 :pool_size => 50, # same as the default worker_connections
10 DEFAULTS.each { |k,v| o[k] ||= v }
11 Integer === o[:pool_size] && o[:pool_size] > 0 or
12 raise ArgumentError, "pool_size must a be an Integer > 0"