From 66c25b545a849fb617806e7ccdcb435f9ce40001 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); } }