lib/spool/pool.rb in spool-1.0.3 vs lib/spool/pool.rb in spool-1.0.4
- old
+ new
@@ -96,10 +96,10 @@
(configuration.processes - all_processes_count).times do
working_processes << Spawner.spawn(configuration)
end
- logger.info(self.class) { "New children: #{working_processes.last.pid}" }
+ logger.info(self.class) { "Status after new childrens => #{format_processes}}" }
elsif configuration.processes < working_processes.count
count_to_kill = working_processes.count - configuration.processes
logger.info(self.class) { "Killing #{count_to_kill} children. Current state => #{format_processes}" }
stop_processes working_processes.take(count_to_kill)