diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-03-08 05:23:13 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-03-08 05:23:13 +0900 |
| commit | fd2c01515e60424a9198b82c3e964c92c3764f7f (patch) | |
| tree | 5fc9cc658db5ed9ff241c0d7885edddf7176e995 /src/queue/index.ts | |
| parent | Update job handlers (diff) | |
| download | sharkey-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.ts | 4 |
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); } } |