Node.js based forum software built for the modern web
refactor: remove old arg
Barış Soner Uşaklı8305a7425ad5
diff --git a/loader.js b/loader.jsindex 446f8b3d9e..427c952ff4 100644--- a/loader.js+++ b/loader.js@@ -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}`);}