Change the BackupWorker queue to backup

This commit is contained in:
noellabo 2020-11-09 19:24:16 +09:00
parent 1ac7d2eb55
commit 944e9a5890
2 changed files with 2 additions and 1 deletions

View file

@ -3,7 +3,7 @@
class BackupWorker
include Sidekiq::Worker
sidekiq_options queue: 'pull', backtrace: true, retry: 5, dead: false
sidekiq_options queue: 'backup', backtrace: true, retry: 5, dead: true
sidekiq_retries_exhausted do |msg|
backup_id = msg['args'].first

View file

@ -6,6 +6,7 @@
- [mailers, 2]
- [pull]
- [scheduler]
- [backup]
:scheduler:
:listened_queues_only: true
:schedule: