You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if we want the ttlcache to automatically evict expired cache entry but if we do, according to the documentation here, we seem not to call go cache.Start() anywhere in our code and we don't seem to call cache.DeleteExpired() periodically which are the only two ways to make the eviction work. So I propose we add some unit tests to at least one instance of ttlcache we used to ensure the eviction work.
The text was updated successfully, but these errors were encountered:
I'm not sure if we want the ttlcache to automatically evict expired cache entry but if we do, according to the documentation here, we seem not to call
go cache.Start()
anywhere in our code and we don't seem to callcache.DeleteExpired()
periodically which are the only two ways to make the eviction work. So I propose we add some unit tests to at least one instance of ttlcache we used to ensure the eviction work.The text was updated successfully, but these errors were encountered: