mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
variable name fix
This commit is contained in:
@@ -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,
|
||||
|
Submodule submodules/qmining-page updated: 3739153e95...21fdbb57a3
Reference in New Issue
Block a user