mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 05:22:37 +00:00
Update metrics.coffee
This commit is contained in:
parent
65fccf8abe
commit
c576a86c14
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ require "./uv_threadpool_size"
|
||||||
module.exports = Metrics =
|
module.exports = Metrics =
|
||||||
initialize: (_name) ->
|
initialize: (_name) ->
|
||||||
name = _name
|
name = _name
|
||||||
collectDefaultMetrics({ timeout: 5000, prefix: name })
|
collectDefaultMetrics({ timeout: 5000, prefix: name + "_" })
|
||||||
|
|
||||||
registerDestructor: (func) ->
|
registerDestructor: (func) ->
|
||||||
destructors.push func
|
destructors.push func
|
||||||
|
|
Loading…
Reference in a new issue