From f9c687d5f89ddac4fa7f5268f39804df183fb416 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 20 Feb 2017 15:19:04 +0000 Subject: [PATCH] Update app.coffee --- services/clsi/app.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/clsi/app.coffee b/services/clsi/app.coffee index ed3349b172..b5e52206ba 100644 --- a/services/clsi/app.coffee +++ b/services/clsi/app.coffee @@ -176,7 +176,8 @@ server = net.createServer (socket) -> socket.destroy() currentLoad = os.loadavg()[0] - + + # On staging there may be 1 cpu on host, don't want to set availableWorkingCpus to 0 in that instance if os.cpus().length == 1 availableWorkingCpus = 1 else