mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[history-v1] fix typo in metrics name in redis chunk store (#26865)
GitOrigin-RevId: 5b37e3b22a3250fcfbd7411e635cc11ed38dcb27
This commit is contained in:
@@ -663,12 +663,12 @@ async function expireProject(projectId) {
|
||||
keySchema.persistTime({ projectId }),
|
||||
keySchema.expireTime({ projectId })
|
||||
)
|
||||
metrics.inc('chunk_store.redis.set_persisted_version', 1, {
|
||||
metrics.inc('chunk_store.redis.expire_project', 1, {
|
||||
status,
|
||||
})
|
||||
return status
|
||||
} catch (err) {
|
||||
metrics.inc('chunk_store.redis.set_persisted_version', 1, {
|
||||
metrics.inc('chunk_store.redis.expire_project', 1, {
|
||||
status: 'error',
|
||||
})
|
||||
throw err
|
||||
|
||||
Reference in New Issue
Block a user