mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-04-23 11:22:10 +00:00
fix: variable not found
This commit is contained in:
parent
a8f8b29340
commit
0616b98038
@ -14,7 +14,7 @@ if (cluster.isPrimary) {
|
|||||||
|
|
||||||
// allow to override max worker count
|
// allow to override max worker count
|
||||||
if (process.env.MAX_WORKERS) {
|
if (process.env.MAX_WORKERS) {
|
||||||
maxWorkers = Math.min(parallelism, parseInt(process.env.MAX_WORKERS))
|
maxWorkers = Math.min(maxWorkers, parseInt(process.env.MAX_WORKERS))
|
||||||
}
|
}
|
||||||
|
|
||||||
// create the workers
|
// create the workers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user