Change the BackupWorker queue to backup
This commit is contained in:
parent
7ba385236a
commit
f1200ac6e6
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
- [mailers, 2]
|
||||
- [pull]
|
||||
- [scheduler]
|
||||
- [backup]
|
||||
:scheduler:
|
||||
:listened_queues_only: true
|
||||
:schedule:
|
||||
|
|
Loading…
Reference in a new issue