variable name fix

This commit is contained in:
mrfry 2021-04-21 12:24:16 +02:00
parent 6ac4977252
commit b1dcb3b018
2 changed files with 3 additions and 3 deletions

View file

@ -104,12 +104,12 @@ export function initWorkerPool(initData: any): void {
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_WORKER_COUNT: '${workerCount}'`,
`Setting thread count from enviroment variable NS_WORKER_COUNT: '${threadCount}'`,
logger.GetColor('red')
)
}
for (let i = 0; i < workerCount; i++) {
for (let i = 0; i < threadCount; i++) {
workers.push({
worker: factory.create(i),
index: i,

@ -1 +1 @@
Subproject commit 3739153e95c3f75c17422d89c5e229cb97cb4abe
Subproject commit 21fdbb57a3c60516e157ac5d328fa720dc6c8516