diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-03-06 20:20:36 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-03-06 21:44:15 +0900 |
commit | 335bc0fec05d282e2e4daa0e4a1bcb82ddec0594 (patch) | |
tree | 33c70be018230136c144023629a84393505792c8 /lib | |
parent | 7bbd5f6e31036a9ab6305b14eedbad25c5501648 (diff) | |
download | gitlab-ce-335bc0fec05d282e2e4daa0e4a1bcb82ddec0594.tar.gz |
Integrate two workers into one ArchiveTraceWorker with pipeline_background queue. This queue takes loqer precedence than pipeline_default.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/traces.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/traces.rake b/lib/tasks/gitlab/traces.rake index 46e2f0e523c..fd2a4f2d11a 100644 --- a/lib/tasks/gitlab/traces.rake +++ b/lib/tasks/gitlab/traces.rake @@ -15,7 +15,7 @@ namespace :gitlab do .find_in_batches(batch_size: 1000) do |jobs| job_ids = jobs.map { |job| [job.id] } - ArchiveLegacyTraceWorker.bulk_perform_async(job_ids) + ArchiveTraceWorker.bulk_perform_async(job_ids) logger.info("Scheduled #{job_ids.count} jobs. From #{job_ids.min} to #{job_ids.max}") end |