distribution/registry/storage/cache/memory
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
..
memory.go registry/storage/cache/memory: Use LRU cache to bound cache size 2022-09-07 07:20:06 -07:00
memory_test.go registry/storage/cache/memory: Use LRU cache to bound cache size 2022-09-07 07:20:06 -07:00