diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-21 15:02:20 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-21 15:02:20 +0300 |
commit | 8417507201809daf0554c13ffb695b8142274f4f (patch) | |
tree | c0ae17734618c02eec7861aa85abc53a83a22e7e /app/workers/pipeline_hooks_worker.rb | |
parent | 48776f2786d22cecab97417141d43060c6cdee26 (diff) |
Assign all pipeline workers to specific queues
Diffstat (limited to 'app/workers/pipeline_hooks_worker.rb')
-rw-r--r-- | app/workers/pipeline_hooks_worker.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/pipeline_hooks_worker.rb b/app/workers/pipeline_hooks_worker.rb index 7e36eacebf8..30a75ec8435 100644 --- a/app/workers/pipeline_hooks_worker.rb +++ b/app/workers/pipeline_hooks_worker.rb @@ -2,6 +2,8 @@ class PipelineHooksWorker include Sidekiq::Worker include PipelineQueue + enqueue_in group: :hooks + def perform(pipeline_id) Ci::Pipeline.find_by(id: pipeline_id) .try(:execute_hooks) |