From 710ff7a3c9ab01a53b49ce1dda29e62fa2dd6da8 Mon Sep 17 00:00:00 2001 From: Tricia Jenkins Date: Wed, 27 May 2020 16:29:36 -0600 Subject: [PATCH] Added active storage queues to sidekiq configuration When I was depositing items I was finding that a active_storage_analysis queue was filling up but not being processed. https://mikerogers.io/2019/06/06/rails-6-sidekiq-queues.html describes some new queue names for ActiveStorage. I've added the ones that make sense to me. Note that this doesn't resolve the "This file is processing and will be available shortly" message for deposited items like I had hoped it would. --- CHANGELOG.md | 1 + config/sidekiq.yml | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 552646763..08ec22fa4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and releases in Jupiter project adheres to [Semantic Versioning](http://semver.o - Metadata Presenters for OAI:DC & OAI:ETDMS - Local system accounts authentication - Bring in ERBLint [PR#1646](https://github.com/ualbertalib/jupiter/pull/1646) +- Rails 6 sidekiq queues ### Changed - bump rubocop-rails to 2.4.1 Rails/FilePath default changed to slashes [PR#1398](https://github.com/ualbertalib/jupiter/pull/1398) diff --git a/config/sidekiq.yml b/config/sidekiq.yml index ad3fa8819..2fbe02463 100644 --- a/config/sidekiq.yml +++ b/config/sidekiq.yml @@ -2,8 +2,12 @@ :concurrency: 5 :pidfile: tmp/pids/sidekiq.pid :queues: - - default - - mailers + - critical + - default + - active_storage_analysis + - active_storage_purge + - mailers + - low development: :logfile: log/sidekiq_development.log uat: