Skip to content

Commit

Permalink
Merge pull request #16864 from jrafanie/run_authentication_checks_at_…
Browse files Browse the repository at this point in the history
…max_priority

Many things rely on authentications, check it first
(cherry picked from commit 9915f79)

https://bugzilla.redhat.com/show_bug.cgi?id=1550725
  • Loading branch information
gtanzillo authored and simaishi committed Mar 1, 2018
1 parent ac54157 commit 6e949a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/miq_schedule_worker/jobs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e949a7

Please sign in to comment.