lib/nonnative/pool.rb in nonnative-1.11.0 vs lib/nonnative/pool.rb in nonnative-1.12.0
- old
+ new
@@ -26,10 +26,10 @@
end
end
def servers
@servers ||= configuration.servers.map do |d|
- [d.klass.new(d.port), Nonnative::Port.new(d)]
+ [d.klass.new(d), Nonnative::Port.new(d)]
end
end
def process_all(all, type_method, port_method, &block)
types = []