From c827c118fa0af387e030c5ca4c0013f8c7c609ee Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Fri, 24 Feb 2023 11:14:49 -0500 Subject: [PATCH] document cluster setup --- bin/www.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/www.ts b/bin/www.ts index e12169d8..9967a031 100644 --- a/bin/www.ts +++ b/bin/www.ts @@ -27,9 +27,11 @@ const clusterSettings = { exec: directoryName + '/wwwProcess.js' } +// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions if (cluster.setupPrimary) { cluster.setupPrimary(clusterSettings) } else { + // Maintain Node 14 support cluster.setupMaster(clusterSettings) }