From 4f2d52697d5ef9499e00c8c35fbdaacf2277e87d Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 6 Feb 2019 14:53:02 +0900 Subject: [PATCH] Update queue setting --- src/queue/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/queue/index.ts b/src/queue/index.ts index 161b8f9b24..54c0c13ae4 100644 --- a/src/queue/index.ts +++ b/src/queue/index.ts @@ -34,8 +34,8 @@ function initializeQueue() { export function createHttpJob(data: any) { if (queueAvailable) { return queue.createJob(data) - .retries(4) - .backoff('exponential', 16384) // 16s + .retries(3) + .backoff('exponential', 1000) .save(); } else { return handler({ data }, () => {});