app/models/miq_ems_metrics_processor_worker.rb
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