mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01:00
lib/workingsetcache: increase default cache expiration from 10 minutes to 20 minutes
This increases the maximum time for cache population with new entries from 20 minutes to 40 minutes.
This
This change shouldn't increase memory usage for caches, since the prev cache cleaner
should free up memory by deleting unused prev cache as soon as possible.
See 08ca45d238
for details on prev cache cleaner.
This commit is contained in:
parent
9a52b56b89
commit
4d71023eb9
@ -17,7 +17,7 @@ const (
|
||||
whole = 2
|
||||
)
|
||||
|
||||
const defaultExpireDuration = 10 * time.Minute
|
||||
const defaultExpireDuration = 20 * time.Minute
|
||||
|
||||
// Cache is a cache for working set entries.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user