summaryrefslogtreecommitdiff
path: root/src/queue/index.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-03-08 05:23:13 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-03-08 05:23:13 +0900
commitfd2c01515e60424a9198b82c3e964c92c3764f7f (patch)
tree5fc9cc658db5ed9ff241c0d7885edddf7176e995 /src/queue/index.ts
parentUpdate job handlers (diff)
downloadsharkey-fd2c01515e60424a9198b82c3e964c92c3764f7f.tar.gz
sharkey-fd2c01515e60424a9198b82c3e964c92c3764f7f.tar.bz2
sharkey-fd2c01515e60424a9198b82c3e964c92c3764f7f.zip
Increase job concurrency
Diffstat (limited to 'src/queue/index.ts')
-rw-r--r--src/queue/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts
index e6c3a7c29f..01c02c7081 100644
--- a/src/queue/index.ts
+++ b/src/queue/index.ts
@@ -118,8 +118,8 @@ export function createExportBlockingJob(user: ILocalUser) {
export default function() {
if (!program.onlyServer) {
- deliverQueue.process(processDeliver);
- inboxQueue.process(processInbox);
+ deliverQueue.process(128, processDeliver);
+ inboxQueue.process(128, processInbox);
processDb(dbQueue);
}
}