summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-03-07 02:43:10 +0900
committerShinya Maeda <shinya@gitlab.com>2018-03-07 02:43:10 +0900
commitf0dac7297918b15e38bb5f373e414916a4b898d2 (patch)
tree26d9d41339b19c62db97da54028fba4ee55cd45b /app
parent10f135cf8a9152d78385ca0bd059aee62ebad4dd (diff)
downloadgitlab-ce-f0dac7297918b15e38bb5f373e414916a4b898d2.tar.gz
Change queue namespace of UpdateHeadPipelineForMergeRequestWorker
Diffstat (limited to 'app')
-rw-r--r--app/workers/update_head_pipeline_for_merge_request_worker.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/update_head_pipeline_for_merge_request_worker.rb b/app/workers/update_head_pipeline_for_merge_request_worker.rb
index f09d89aa170..76f84ff920f 100644
--- a/app/workers/update_head_pipeline_for_merge_request_worker.rb
+++ b/app/workers/update_head_pipeline_for_merge_request_worker.rb
@@ -2,6 +2,8 @@ class UpdateHeadPipelineForMergeRequestWorker
include ApplicationWorker
include PipelineQueue
+ queue_namespace :pipeline_processing
+
def perform(merge_request_id)
merge_request = MergeRequest.find(merge_request_id)
pipeline = Ci::Pipeline.where(project: merge_request.source_project, ref: merge_request.source_branch).last