Class: MonitorUnresponsiveNodesJob
- Inherits:
-
ContainerBrokerBaseJob
- Object
- ActiveJob::Base
- ApplicationJob
- ContainerBrokerBaseJob
- MonitorUnresponsiveNodesJob
- Defined in:
- app/jobs/monitor_unresponsive_nodes_job.rb
Constant Summary
Constants inherited from ContainerBrokerBaseJob
ContainerBrokerBaseJob::JOB_METRIC
Instance Method Summary collapse
Methods inherited from ContainerBrokerBaseJob
Instance Method Details
#perform ⇒ Object
4 5 6 7 8 |
# File 'app/jobs/monitor_unresponsive_nodes_job.rb', line 4 def perform Node.where(:status.in => %w[unstable unavailable]).each do |node| MonitorUnresponsiveNodeJob.perform_later(node: node) end end |