pw info response update, loading submodules

This commit is contained in:
mrfry 2021-04-21 12:07:13 +02:00
parent 8bb5ea8bcf
commit 082d983b40
6 changed files with 24 additions and 9 deletions

View file

@ -74,7 +74,7 @@ export function initWorkerPool(initData: any): void {
},
}
const threadCount = process.env.NS_THREAD_COUNT || os.cpus().length - 1
const threadCount = process.env.NS_THREAD_COUNT || os.cpus().length
if (process.env.NS_THREAD_COUNT) {
logger.Log(
`Setting thread count from enviroment variable NS_THREAD_COUNT: '${threadCount}'`,