From 6b66da16874f4593c21f9663c5ef1d4dc9e869d6 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 18 Jul 2022 14:04:44 +0100 Subject: [PATCH] Remove line left by accident --- internal/caching/impl_ristretto.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/caching/impl_ristretto.go b/internal/caching/impl_ristretto.go index 9733eabb8..01c97ad55 100644 --- a/internal/caching/impl_ristretto.go +++ b/internal/caching/impl_ristretto.go @@ -70,7 +70,6 @@ func NewRistrettoCache(maxCost config.DataUnit, maxAge time.Duration, enableProm }, func() float64 { return float64(cache.Metrics.CostAdded() - cache.Metrics.CostEvicted()) }) - cache.Metrics.GetsKept() } return &Caches{ RoomVersions: &RistrettoCachePartition[string, gomatrixserverlib.RoomVersion]{ // room ID -> room version