distribution/vendor/github.com/hashicorp/golang-lru/simplelru
Aaron Lehmann e36cb0a5d8 registry/storage/cache/memory: Use LRU cache to bound cache size
Instead of letting the cache grow without bound, use a LRU to impose a
size limit.

The limit is configurable through a new `blobdescriptorsize` config key.

Signed-off-by: Aaron Lehmann <alehmann@netflix.com>
2022-09-07 07:20:06 -07:00
..
lru.go registry/storage/cache/memory: Use LRU cache to bound cache size 2022-09-07 07:20:06 -07:00
lru_interface.go registry/storage/cache/memory: Use LRU cache to bound cache size 2022-09-07 07:20:06 -07:00