summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-10-24 17:39:04 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-10-24 17:39:04 +0800
commit02b624740d1153ac242cabada937272dc9925fca (patch)
tree77e0aadfef202b7761ce97e04b77b26d8566850a
parent780e58fa511c2c817aab1ab3d654524217c3e4c4 (diff)
downloadgitlab-ce-02b624740d1153ac242cabada937272dc9925fca.tar.gz
include PipelineQueue, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6342#note_17353703
-rw-r--r--app/workers/pipeline_notification_worker.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/workers/pipeline_notification_worker.rb b/app/workers/pipeline_notification_worker.rb
index 68e72f7382f..cdb860b6675 100644
--- a/app/workers/pipeline_notification_worker.rb
+++ b/app/workers/pipeline_notification_worker.rb
@@ -1,5 +1,6 @@
class PipelineNotificationWorker
include Sidekiq::Worker
+ include PipelineQueue
def perform(pipeline_id, recipients = nil)
pipeline = Ci::Pipeline.find_by(id: pipeline_id)