update the default number of workers

This commit is contained in:
VincentChanX
2017-04-10 16:32:33 +08:00
parent 3bf624f397
commit 0c2b2e33ec
2 changed files with 7 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ server
.parse(process.argv);
throng({
workers: process.env.WEB_CONCURRENCY || 2,
workers: process.env.WEB_CONCURRENCY || 1,
master: startMaster,
start: startWorker
});