diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/lib/job-queue/job-queue.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/job-queue.ts b/server/lib/job-queue/job-queue.ts index 3f176f896..e8f6c3620 100644 --- a/server/lib/job-queue/job-queue.ts +++ b/server/lib/job-queue/job-queue.ts | |||
@@ -72,7 +72,7 @@ class JobQueue { | |||
72 | .create(obj.type, obj.payload) | 72 | .create(obj.type, obj.payload) |
73 | .priority(priority) | 73 | .priority(priority) |
74 | .attempts(JOB_ATTEMPTS[obj.type]) | 74 | .attempts(JOB_ATTEMPTS[obj.type]) |
75 | .backoff({ type: 'exponential' }) | 75 | .backoff({ delay: 60 * 1000, type: 'exponential' }) |
76 | .save(err => { | 76 | .save(err => { |
77 | if (err) return rej(err) | 77 | if (err) return rej(err) |
78 | 78 | ||