chore(deps): Update TwiN/gocache to v2.2.0
This commit is contained in:
1 parent
f1ce83c211
commit
c172e733be
7 files changed
+118
-102
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ package gocache
|
||||
// EvictionPolicy is what dictates how evictions are handled
|
||||
type EvictionPolicy string
|
||||
|
||||
var (
|
||||
const (
|
||||
// LeastRecentlyUsed is an eviction policy that causes the most recently accessed cache entry to be moved to the
|
||||
// head of the cache. Effectively, this causes the cache entries that have not been accessed for some time to
|
||||
// gradually move closer and closer to the tail, and since the tail is the entry that gets deleted when an eviction
|
||||
|
||||
Reference in new issue
Block a user