Change the BackupWorker queue to backup
This commit is contained in:
parent
1ac7d2eb55
commit
944e9a5890
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