mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 15:40:58 +00:00
add metric for applied-ops events
This commit is contained in:
parent
01a1923e1f
commit
ef9e97e7d1
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ module.exports = DocumentUpdaterController =
|
|||
listenForUpdatesFromDocumentUpdater: (io) ->
|
||||
rclient.subscribe "applied-ops"
|
||||
rclient.on "message", (channel, message) ->
|
||||
metrics.inc "rclient", 0.001 # global event rate metric
|
||||
EventLogger.debugEvent(channel, message) if settings.debugEvents > 0
|
||||
DocumentUpdaterController._processMessageFromDocumentUpdater(io, channel, message)
|
||||
|
||||
|
|
Loading…
Reference in a new issue