From 41b4caa62d93c221421893fe578470ec204f296c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 15 May 2018 11:05:23 -0400 Subject: [PATCH] closes #6509 --- loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader.js b/loader.js index f5793e8aff..3071a6f8d5 100644 --- a/loader.js +++ b/loader.js @@ -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, {