Class: ThorBoot::Master
Class Method Summary collapse
Methods inherited from Boot
default_options, default_options_amqp, default_options_em, default_options_sql, merge_options
Class Method Details
.boot_jobs ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/boot/Master.rb', line 9 def self.boot_jobs opts_node = {:channel_nodes => "masters"} opts_master = {} opts_monitor_master = { :channel_request => "monitor.request", :channel_response => "monitor.response", :request_interval => 1 } boot_jobs = [ {:name => "Node-0.0.1", :options => (opts_node)}, {:name => "Master-0.0.1", :options => (opts_master)}, {:name => "MonitorMaster-0.0.1", :options => (opts_monitor_master)} ] return (super() + boot_jobs) end |