mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-10 17:42:52 +01:00
refactor: remove old arg
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user