2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-16 18:15:20 +00:00
restic/internal/bloblru
greatroar 634a9c162d Check cap instead of len in bloblru
restic dump uses bloblru.Cache to keep buffers alive, but also reuses
evicted buffers. That means large buffers may be used to store small
blobs, causing the cache to think it's using less memory than it
actually does.
2021-10-03 09:34:17 +02:00
..
cache_test.go Check cap instead of len in bloblru 2021-10-03 09:34:17 +02:00
cache.go Check cap instead of len in bloblru 2021-10-03 09:34:17 +02:00