Merge pull request #13255 from overleaf/em-socket-leak-detection

Reintroduce socket leak detection in all services

GitOrigin-RevId: 0a9a1ced0b886dbb267cb46beb5da7d0133d39aa
This commit is contained in:
Eric Mc Sween
2023-05-31 08:05:24 +00:00
committed by Copybot
parent aeadafa61b
commit adfe7abaaf
9 changed files with 12 additions and 1 deletions
+1
View File
@@ -34,6 +34,7 @@ http.globalAgent.maxSockets = Settings.limits.httpGlobalAgentMaxSockets
https.globalAgent.maxSockets = Settings.limits.httpsGlobalAgentMaxSockets
metrics.memory.monitor(logger)
metrics.leaked_sockets.monitor(logger)
metrics.open_sockets.monitor()
const Server = require('./app/src/infrastructure/Server')