From ed0070c470b9371378501a47c8cf304bf796c4da Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 1 Jul 2019 20:37:26 +0900 Subject: [PATCH] Set job concurrency to reduce performance issue --- src/queue/processors/object-storage/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue/processors/object-storage/index.ts b/src/queue/processors/object-storage/index.ts index f2fc08f1a..60f732ca6 100644 --- a/src/queue/processors/object-storage/index.ts +++ b/src/queue/processors/object-storage/index.ts @@ -7,6 +7,6 @@ const jobs = { export default function(q: Bull.Queue) { for (const [k, v] of Object.entries(jobs)) { - q.process(k, v as any); + q.process(k, 16, v as any); } }