refactor: remove old arg

This commit is contained in:
Barış Soner Uşaklı
2025-08-01 12:26:38 -04:00
parent b229488daf
commit 8305a7425a

View File

@@ -106,9 +106,7 @@ function forkWorker(index, isPrimary) {
if (nconf.get('expose-gc')) {
execArgv.push('--expose-gc');
}
if (nconf.get('expose-gc')) {
args.push('--expose-gc');
}
if (!ports[index]) {
return console.log(`[cluster] invalid port for worker : ${index} ports: ${ports.length}`);
}