Change the BackupWorker queue to backup

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

View file

@ -3,7 +3,7 @@
class BackupWorker class BackupWorker
include Sidekiq::Worker 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| sidekiq_retries_exhausted do |msg|
backup_id = msg['args'].first backup_id = msg['args'].first

View file

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