1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Fix job queue backoff

This commit is contained in:
Chocobozzz 2018-01-30 15:51:55 +01:00
parent 31b5a25591
commit 802dbc32a3
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -72,7 +72,7 @@ class JobQueue {
.create(obj.type, obj.payload)
.priority(priority)
.attempts(JOB_ATTEMPTS[obj.type])
.backoff({ type: 'exponential' })
.backoff({ delay: 60 * 1000, type: 'exponential' })
.save(err => {
if (err) return rej(err)