Skip to content
Snippets Groups Projects
Commit 8dd580f4 authored by Lin Jen-Shin's avatar Lin Jen-Shin :cookie:
Browse files

It's already async, from Project#execute_services, feedback:

parent c065f536
No related branches found
No related tags found
1 merge request!6342Integrate CI emails into notification system
......@@ -32,7 +32,7 @@ def execute(data, force: false)
return unless all_recipients.any?
pipeline_id = data[:object_attributes][:id]
SendPipelineNotificationWorker.perform_async(pipeline_id, all_recipients)
SendPipelineNotificationWorker.new.perform(pipeline_id, all_recipients)
end
def can_test?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment