mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 04:53:44 -05:00
fix whitespace
This commit is contained in:
parent
e3e8d80466
commit
27c382416a
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ module.exports = MemoryMonitor =
|
||||||
#Metrics.gauge("memory.cpu-time-bucket", CpuTimeBucket)
|
#Metrics.gauge("memory.cpu-time-bucket", CpuTimeBucket)
|
||||||
|
|
||||||
if global.gc? && readyToGc()
|
if global.gc? && readyToGc()
|
||||||
gcTime = (executeAndTime global.gc).toFixed(2)
|
gcTime = (executeAndTime global.gc).toFixed(2)
|
||||||
memAfterGc = inMegaBytes process.memoryUsage()
|
memAfterGc = inMegaBytes process.memoryUsage()
|
||||||
deltaMem = updateMemoryStats(memBeforeGc, memAfterGc)
|
deltaMem = updateMemoryStats(memBeforeGc, memAfterGc)
|
||||||
logger.log {gcTime, memBeforeGc, memAfterGc, deltaMem, gcInterval, CpuTimeBucket}, "global.gc() forced"
|
logger.log {gcTime, memBeforeGc, memAfterGc, deltaMem, gcInterval, CpuTimeBucket}, "global.gc() forced"
|
||||||
|
|
Loading…
Reference in a new issue