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:
Aliaksandr Valialkin 2022-04-05 17:08:40 +03:00
parent 0c0efc7781
commit 4785d04312
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -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.
// //