Update app.coffee
This commit is contained in:
@@ -177,6 +177,7 @@ server = net.createServer (socket) ->
|
|||||||
|
|
||||||
currentLoad = os.loadavg()[0]
|
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
|
if os.cpus().length == 1
|
||||||
availableWorkingCpus = 1
|
availableWorkingCpus = 1
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user