Skip to content

Commit

Permalink
Revert to task_id for the 2 cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mkanoor committed Jul 5, 2017
1 parent b609e1d commit 5b4b1ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/miq_schedule_worker/jobs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def miq_server_status_update
end

def miq_server_worker_log_status
queue_work(:class_name => "MiqServer", :method_name => "log_status", :tracking_label => "log_status", :server_guid => MiqServer.my_guid, :priority => MiqQueue::HIGH_PRIORITY)
queue_work(:class_name => "MiqWorker", :method_name => "log_status_all", :tracking_label => "log_status", :server_guid => MiqServer.my_guid, :priority => MiqQueue::HIGH_PRIORITY)
queue_work(:class_name => "MiqServer", :method_name => "log_status", :task_id => "log_status", :server_guid => MiqServer.my_guid, :priority => MiqQueue::HIGH_PRIORITY)
queue_work(:class_name => "MiqWorker", :method_name => "log_status_all", :task_id => "log_status", :server_guid => MiqServer.my_guid, :priority => MiqQueue::HIGH_PRIORITY)
end

def vmdb_database_connection_log_statistics
Expand Down Expand Up @@ -62,7 +62,7 @@ def job_check_for_evm_snapshots(job_not_found_delay)

def job_proxy_dispatcher_dispatch
if JobProxyDispatcher.waiting?
queue_work_on_each_zone(:class_name => "JobProxyDispatcher", :method_name => "dispatch", :tracking_label => "job_dispatcher", :priority => MiqQueue::HIGH_PRIORITY, :role => "smartstate")
queue_work_on_each_zone(:class_name => "JobProxyDispatcher", :method_name => "dispatch", :task_id => "job_dispatcher", :priority => MiqQueue::HIGH_PRIORITY, :role => "smartstate")
end
end

Expand Down

0 comments on commit 5b4b1ea

Please sign in to comment.