mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Update app.coffee
This commit is contained in:
parent
a7623bf0d2
commit
f9c687d5f8
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@ server = net.createServer (socket) ->
|
||||||
socket.destroy()
|
socket.destroy()
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue