mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 21:11:41 +00:00
Monitor memory usage and do periodic GC
This commit is contained in:
parent
25411189a7
commit
50112a59d4
2 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ logger.logger.serializers.user = require("./app/js/infrastructure/LoggerSerializ
|
|||
logger.logger.serializers.project = require("./app/js/infrastructure/LoggerSerializers").project
|
||||
metrics = require("metrics-sharelatex")
|
||||
metrics.initialize("web")
|
||||
metrics.memory.monitor(logger)
|
||||
Server = require("./app/js/infrastructure/Server")
|
||||
Errors = require "./app/js/errors"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
"lynx": "0.1.1",
|
||||
"marked": "^0.3.3",
|
||||
"method-override": "^2.3.3",
|
||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.2.0",
|
||||
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.3.0",
|
||||
"mimelib": "0.2.14",
|
||||
"mocha": "1.17.1",
|
||||
"mongojs": "0.18.2",
|
||||
|
|
Loading…
Reference in a new issue