mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-13 16:19:18 +00:00
fix: variable not found
This commit is contained in:
@ -14,7 +14,7 @@ if (cluster.isPrimary) {
|
||||
|
||||
// allow to override max worker count
|
||||
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
|
||||
|
Reference in New Issue
Block a user