diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-05-02 10:52:54 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-05-02 10:52:54 +0300 |
commit | 950df8babf07d7135b1f7cf95586d40f0ca36ff6 (patch) | |
tree | 9c0e673c853171df1f89c232554748c302937de8 /app | |
parent | abe87373ab209c144cf684b57b12262a8df60540 (diff) |
Rename BuildTraceSwapChunkWorker to BuildTraceChunkFlushToDBWorker
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/build_trace_chunk.rb | 2 | ||||
-rw-r--r-- | app/workers/all_queues.yml | 2 | ||||
-rw-r--r-- | app/workers/build_trace_chunk_flush_to_db_worker.rb (renamed from app/workers/build_trace_swap_chunk_worker.rb) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/models/ci/build_trace_chunk.rb b/app/models/ci/build_trace_chunk.rb index b9b84104b33..4c1449cbb70 100644 --- a/app/models/ci/build_trace_chunk.rb +++ b/app/models/ci/build_trace_chunk.rb @@ -99,7 +99,7 @@ module Ci def schedule_to_db return if db? - BuildTraceSwapChunkWorker.perform_async(id) + BuildTraceChunkFlushToDBWorker.perform_async(id) end def fullfilled? diff --git a/app/workers/all_queues.yml b/app/workers/all_queues.yml index 44388e7ca0f..0d30971dfd2 100644 --- a/app/workers/all_queues.yml +++ b/app/workers/all_queues.yml @@ -66,7 +66,7 @@ - pipeline_processing:pipeline_update - pipeline_processing:stage_update - pipeline_processing:update_head_pipeline_for_merge_request -- pipeline_processing:build_trace_swap_chunk +- pipeline_processing:build_trace_chunk_flush_to_db - repository_check:repository_check_clear - repository_check:repository_check_single_repository diff --git a/app/workers/build_trace_swap_chunk_worker.rb b/app/workers/build_trace_chunk_flush_to_db_worker.rb index 1392b9d34e1..447dfc4d229 100644 --- a/app/workers/build_trace_swap_chunk_worker.rb +++ b/app/workers/build_trace_chunk_flush_to_db_worker.rb @@ -1,4 +1,4 @@ -class BuildTraceSwapChunkWorker +class BuildTraceChunkFlushToDBWorker include ApplicationWorker include PipelineQueue |