lib/nonnative/pool.rb in nonnative-1.17.0 vs lib/nonnative/pool.rb in nonnative-1.18.0
- old
+ new
@@ -5,15 +5,15 @@
def initialize(configuration)
@configuration = configuration
end
def start(&block)
- all = processes + servers
+ all = servers + processes
process_all(all, :start, :open?, &block)
end
def stop(&block)
- all = processes + servers
+ all = servers + processes
process_all(all, :stop, :closed?, &block)
end
private