v1.18.x
Barış Soner Uşaklı 7 years ago
parent aec330e761
commit 41b4caa62d

@ -115,7 +115,7 @@ function forkWorker(index, isPrimary) {
} }
process.env.isPrimary = isPrimary; process.env.isPrimary = isPrimary;
process.env.isCluster = ports.length > 1; process.env.isCluster = nconf.get('isCluster') || ports.length > 1;
process.env.port = ports[index]; process.env.port = ports[index];
var worker = fork(appPath, args, { var worker = fork(appPath, args, {

Loading…
Cancel
Save