Tune worker/job counts (#5346)

* デフォルトのワーカー数を1に

* Tune default job count
This commit is contained in:
MeiMei
2019-08-27 05:33:24 +09:00
committed by syuilo
parent ab6a84cd45
commit 6a0affcec1
4 changed files with 11 additions and 4 deletions

View File

@@ -203,8 +203,8 @@ export function createCleanRemoteFilesJob() {
export default function() {
if (!program.onlyServer) {
deliverQueue.process(128, processDeliver);
inboxQueue.process(128, processInbox);
deliverQueue.process(config.deliverJobConcurrency || 128, processDeliver);
inboxQueue.process(config.inboxJobConcurrency || 16, processInbox);
processDb(dbQueue);
procesObjectStorage(objectStorageQueue);
}