ManageIQ/manageiq

View on GitHub
app/models/miq_ems_metrics_processor_worker.rb

Summary

Maintainability
A
0 mins
Test Coverage
B
87%
class MiqEmsMetricsProcessorWorker < MiqQueueWorkerBase
  include MiqWorker::ReplicaPerWorker

  self.required_roles       = ["ems_metrics_processor"]
  self.default_queue_name   = "ems_metrics_processor"

  def friendly_name
    @friendly_name ||= "C&U Metrics Processor"
  end

  def self.kill_priority
    MiqWorkerType::KILL_PRIORITY_METRICS_PROCESSOR_WORKERS
  end
end