registry/notifications
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
..
bridge.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
bridge_test.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
endpoint.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
event.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
event_test.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
http.go Use go-events package 2020-03-04 12:49:32 -08:00
http_test.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
listener.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
listener_test.go registry/storage/cache/memory: Use LRU cache to bound cache size 2022-09-07 07:20:06 -07:00
metrics.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
metrics_test.go notifications: fix expvar for Go 1.7 2017-02-14 10:51:20 -08:00
sinks.go Use go-events package 2020-03-04 12:49:32 -08:00
sinks_test.go Use go-events package 2020-03-04 12:49:32 -08:00