From 6e949a7358e58311eb6fe83831251b819d09145b Mon Sep 17 00:00:00 2001 From: Gregg Tanzillo Date: Tue, 23 Jan 2018 13:30:08 -0500 Subject: [PATCH] Merge pull request #16864 from jrafanie/run_authentication_checks_at_max_priority Many things rely on authentications, check it first (cherry picked from commit 9915f79bf8e552581f868dc5347dc93ed68d0eb8) https://bugzilla.redhat.com/show_bug.cgi?id=1550725 --- app/models/miq_schedule_worker/jobs.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/miq_schedule_worker/jobs.rb b/app/models/miq_schedule_worker/jobs.rb index 191d649e24a..953176c93d1 100644 --- a/app/models/miq_schedule_worker/jobs.rb +++ b/app/models/miq_schedule_worker/jobs.rb @@ -49,11 +49,11 @@ def load_balancer_retirement_check end def host_authentication_check_schedule - queue_work_on_each_zone(:class_name => "Host", :method_name => "authentication_check_schedule") + queue_work_on_each_zone(:class_name => "Host", :method_name => "authentication_check_schedule", :priority => MiqQueue::HIGH_PRIORITY) end def ems_authentication_check_schedule - queue_work_on_each_zone(:class_name => "ExtManagementSystem", :method_name => "authentication_check_schedule") + queue_work_on_each_zone(:class_name => "ExtManagementSystem", :method_name => "authentication_check_schedule", :priority => MiqQueue::HIGH_PRIORITY) end def storage_authentication_check_schedule