fix(syncing-server): decrease metric expiration time

This commit is contained in:
Karol Sójko 2024-01-04 14:54:35 +01:00
parent 86d0e565ed
commit f1aa431c22
No known key found for this signature in database
GPG key ID: C2F813669419D05F

View file

@ -64,8 +64,8 @@ export class RedisMetricStore implements MetricsStoreInterface {
pipeline.incr(key)
const expirationTimeIn24Hours = 60 * 60 * 24
pipeline.expire(key, expirationTimeIn24Hours)
const expirationTime = 60 * 60 * 6
pipeline.expire(key, expirationTime)
await pipeline.exec()
}