fix(syncing-server): decrease metric expiration time
This commit is contained in:
parent
86d0e565ed
commit
f1aa431c22
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue