mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/workingsetcache: reduce the expiration duration from 20 minutes to 10 minutes
This should reduce memory usage for the cache under high churn rate
This commit is contained in:
parent
0c0efc7781
commit
4785d04312
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ const (
|
||||||
whole = 2
|
whole = 2
|
||||||
)
|
)
|
||||||
|
|
||||||
const defaultExpireDuration = 20 * time.Minute
|
const defaultExpireDuration = 10 * time.Minute
|
||||||
|
|
||||||
// Cache is a cache for working set entries.
|
// Cache is a cache for working set entries.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue