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
|
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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue