Commit 8dd580f4 authored by Lin Jen-Shin's avatar Lin Jen-Shin

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

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6342/diffs#note_16132555
parent c065f536
...@@ -32,7 +32,7 @@ class PipelinesEmailService < Service ...@@ -32,7 +32,7 @@ class PipelinesEmailService < Service
return unless all_recipients.any? return unless all_recipients.any?
pipeline_id = data[:object_attributes][:id] pipeline_id = data[:object_attributes][:id]
SendPipelineNotificationWorker.perform_async(pipeline_id, all_recipients) SendPipelineNotificationWorker.new.perform(pipeline_id, all_recipients)
end end
def can_test? def can_test?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment