summaryrefslogtreecommitdiff
path: root/src/queue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-07-01 20:37:26 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-07-01 20:37:26 +0900
commited0070c470b9371378501a47c8cf304bf796c4da (patch)
treebe4c087238aec79073bb1d9219e4686f2234481f /src/queue
parentSimplify log domain (diff)
downloadsharkey-ed0070c470b9371378501a47c8cf304bf796c4da.tar.gz
sharkey-ed0070c470b9371378501a47c8cf304bf796c4da.tar.bz2
sharkey-ed0070c470b9371378501a47c8cf304bf796c4da.zip
Set job concurrency to reduce performance issue
Diffstat (limited to 'src/queue')
-rw-r--r--src/queue/processors/object-storage/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/processors/object-storage/index.ts b/src/queue/processors/object-storage/index.ts
index f2fc08f1ab..60f732ca64 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);
}
}