mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-14 16:53:27 +00:00
add memory logger to track changes
This commit is contained in:
parent
8e53d66079
commit
933b6c50e7
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ Path = require "path"
|
|||
Metrics = require "metrics-sharelatex"
|
||||
Metrics.initialize("track-changes")
|
||||
Metrics.mongodb.monitor(Path.resolve(__dirname + "/node_modules/mongojs/node_modules/mongodb"), logger)
|
||||
Metrics.memory.monitor(logger)
|
||||
|
||||
child_process = require "child_process"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue