lib/pitchfork/configurator.rb in pitchfork-0.14.0 vs lib/pitchfork/configurator.rb in pitchfork-0.15.0
- old
+ new
@@ -228,10 +228,10 @@
end
def listen(address, options = {})
address = expand_addr(address)
if String === address
- [ :umask, :backlog, :sndbuf, :rcvbuf, :tries ].each do |key|
+ [ :umask, :backlog, :sndbuf, :rcvbuf, :tries, :queues, :queues_per_worker].each do |key|
value = options[key] or next
Integer === value or
raise ArgumentError, "not an integer: #{key}=#{value.inspect}"
end
[ :tcp_nodelay, :tcp_nopush, :ipv6only, :reuseport ].each do |key|