Merge pull request #13214 from overleaf/bg-add-socket-leak-detection-to-all-services

add socket leak detection to all services

GitOrigin-RevId: 9481222258b796ca8c3b50cdd7ce60c05f0f9f61
This commit is contained in:
Eric Mc Sween
2023-05-30 08:03:58 +00:00
committed by Copybot
parent 1194e9a942
commit c625fef364
9 changed files with 10 additions and 0 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')