Skip to content

Commit

Permalink
Merge pull request #23239 from nasark/remove_task_id_ae_deliver_queue
Browse files Browse the repository at this point in the history
Remove task_id from AE deliver_queue
  • Loading branch information
agrare committed Oct 18, 2024
2 parents 683768c + 2c83bef commit 270b7e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions app/models/resource_action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ def deliver_queue(dialog_hash_values, target, user, task_id = nil)
else
MiqAeEngine.deliver_queue(automate_queue_hash(target, dialog_hash_values[:dialog], user, task_id),
:zone => target.try(:my_zone),
:priority => MiqQueue::HIGH_PRIORITY,
:task_id => "#{self.class.name.underscore}_#{id}")
:priority => MiqQueue::HIGH_PRIORITY)
end
end

Expand Down
1 change: 0 additions & 1 deletion spec/models/resource_action_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
:role => 'automate',
:zone => zone_name,
:priority => MiqQueue::HIGH_PRIORITY,
:task_id => "#{ra.class.name.underscore}_#{ra.id}",
:msg_timeout => 3600
}
end
Expand Down

0 comments on commit 270b7e0

Please sign in to comment.