This commit is contained in:
Barış Soner Uşaklı
2018-05-15 11:05:23 -04:00
parent aec330e761
commit 41b4caa62d

View File

@@ -115,7 +115,7 @@ function forkWorker(index, 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];
var worker = fork(appPath, args, {