diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-21 15:16:51 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-21 15:16:51 +0300 |
commit | 4c93668202f8b3a02e3730e696e9ebcd6f08daca (patch) | |
tree | 58d45d3f103f743c87a809d157847a309c569978 /app/workers/expire_job_cache_worker.rb | |
parent | 8417507201809daf0554c13ffb695b8142274f4f (diff) |
Remove sidekiq build queue and assign pipeline queue
Diffstat (limited to 'app/workers/expire_job_cache_worker.rb')
-rw-r--r-- | app/workers/expire_job_cache_worker.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/workers/expire_job_cache_worker.rb b/app/workers/expire_job_cache_worker.rb index e383202260d..98a7500bffe 100644 --- a/app/workers/expire_job_cache_worker.rb +++ b/app/workers/expire_job_cache_worker.rb @@ -1,6 +1,8 @@ class ExpireJobCacheWorker include Sidekiq::Worker - include BuildQueue + include PipelineQueue + + enqueue_in group: :cache def perform(job_id) job = CommitStatus.joins(:pipeline, :project).find_by(id: job_id) |