lib/invoker/commander.rb in invoker-1.3.1 vs lib/invoker/commander.rb in invoker-1.3.2
- old
+ new
@@ -35,10 +35,10 @@
daemonize_app if Invoker.daemonize?
install_interrupt_handler
unix_server_thread = Thread.new { Invoker::IPC::Server.new }
@thread_group.add(unix_server_thread)
process_manager.run_power_server
- Invoker.config.processes.each { |process_info| process_manager.start_process(process_info) }
+ Invoker.config.autorunnable_processes.each { |process_info| process_manager.start_process(process_info) }
at_exit { process_manager.kill_workers }
start_event_loop
end
def on_next_tick(*args, &block)