1
0
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:
2024-12-10 13:47:43 +01:00
committed by GitHub
parent a8f8b29340
commit 0616b98038

View File

@ -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