mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
pw info response update, loading submodules
This commit is contained in:
parent
8bb5ea8bcf
commit
082d983b40
6 changed files with 24 additions and 9 deletions
|
@ -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}'`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue