diff --git a/repo/content/committed_read_manager.go b/repo/content/committed_read_manager.go index 16a651e790b..cd37299a802 100644 --- a/repo/content/committed_read_manager.go +++ b/repo/content/committed_read_manager.go @@ -440,6 +440,7 @@ func metadataCacheSizeSweepSettings(caching *CachingOptions) cache.SweepSettings func indexBlobCacheSweepSettings(caching *CachingOptions) cache.SweepSettings { return cache.SweepSettings{ MaxSizeBytes: caching.EffectiveMetadataCacheSizeBytes(), + LimitBytes: caching.MetadataCacheSizeLimitBytes, MinSweepAge: caching.MinMetadataSweepAge.DurationOrDefault(DefaultMetadataCacheSweepAge), } }