BigW Consortium Gitlab

Commit 8dd580f4 by Lin Jen-Shin

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

parent c065f536
......@@ -32,7 +32,7 @@ class PipelinesEmailService < Service
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?
......
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