From b1dcb3b018ec917a08694fcd48d2a29298218017 Mon Sep 17 00:00:00 2001 From: mrfry Date: Wed, 21 Apr 2021 12:24:16 +0200 Subject: [PATCH] variable name fix --- src/utils/workerPool.ts | 4 ++-- submodules/qmining-page | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/workerPool.ts b/src/utils/workerPool.ts index ebd00ef..fc785b0 100644 --- a/src/utils/workerPool.ts +++ b/src/utils/workerPool.ts @@ -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, diff --git a/submodules/qmining-page b/submodules/qmining-page index 3739153..21fdbb5 160000 --- a/submodules/qmining-page +++ b/submodules/qmining-page @@ -1 +1 @@ -Subproject commit 3739153e95c3f75c17422d89c5e229cb97cb4abe +Subproject commit 21fdbb57a3c60516e157ac5d328fa720dc6c8516