summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-05-04 21:48:10 +0900
committerShinya Maeda <shinya@gitlab.com>2018-05-04 21:48:10 +0900
commitc1d3b48c96ce44a2ff3e84cb89063a00c67297f5 (patch)
treeb9ff8c68a809d3e500dd290c4974c0521b6e9226 /app
parent8b47980e12887e255146ce155b446d9176586cfe (diff)
downloadgitlab-ce-c1d3b48c96ce44a2ff3e84cb89063a00c67297f5.tar.gz
Change BuildTraceChunkFlushWorker's queue from pipeline_processing to pipeline_background
Diffstat (limited to 'app')
-rw-r--r--app/workers/all_queues.yml2
-rw-r--r--app/workers/ci/build_trace_chunk_flush_worker.rb3
2 files changed, 2 insertions, 3 deletions
diff --git a/app/workers/all_queues.yml b/app/workers/all_queues.yml
index dc628bb7f50..5d9ec6142d7 100644
--- a/app/workers/all_queues.yml
+++ b/app/workers/all_queues.yml
@@ -52,6 +52,7 @@
- pipeline_creation:create_pipeline
- pipeline_creation:run_pipeline_schedule
- pipeline_background:archive_trace
+- pipeline_background:ci_build_trace_chunk_flush
- pipeline_default:build_coverage
- pipeline_default:build_trace_sections
- pipeline_default:pipeline_metrics
@@ -66,7 +67,6 @@
- pipeline_processing:pipeline_update
- pipeline_processing:stage_update
- pipeline_processing:update_head_pipeline_for_merge_request
-- pipeline_processing:ci_build_trace_chunk_flush
- repository_check:repository_check_clear
- repository_check:repository_check_single_repository
diff --git a/app/workers/ci/build_trace_chunk_flush_worker.rb b/app/workers/ci/build_trace_chunk_flush_worker.rb
index b8f8be29c7b..218d6688bd9 100644
--- a/app/workers/ci/build_trace_chunk_flush_worker.rb
+++ b/app/workers/ci/build_trace_chunk_flush_worker.rb
@@ -1,8 +1,7 @@
module Ci
class BuildTraceChunkFlushWorker
include ApplicationWorker
-
- queue_namespace :pipeline_processing
+ include PipelineBackgroundQueue
def perform(build_trace_chunk_id)
::Ci::BuildTraceChunk.find_by(id: build_trace_chunk_id).try do |build_trace_chunk|