mirror of
https://github.com/standardnotes/server
synced 2026-01-16 20:04:32 -05:00
fix(syncing-server): decrease metric expiration time
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user