From 802dbc32a31e6d8c6fb5a3b4a691f828680c9a21 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 30 Jan 2018 15:51:55 +0100 Subject: Fix job queue backoff --- server/lib/job-queue/job-queue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { .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) -- cgit v1.2.3