mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 10:33:11 -06:00
Remove line left by accident
This commit is contained in:
parent
202d0f7995
commit
6b66da1687
|
|
@ -70,7 +70,6 @@ func NewRistrettoCache(maxCost config.DataUnit, maxAge time.Duration, enableProm
|
||||||
}, func() float64 {
|
}, func() float64 {
|
||||||
return float64(cache.Metrics.CostAdded() - cache.Metrics.CostEvicted())
|
return float64(cache.Metrics.CostAdded() - cache.Metrics.CostEvicted())
|
||||||
})
|
})
|
||||||
cache.Metrics.GetsKept()
|
|
||||||
}
|
}
|
||||||
return &Caches{
|
return &Caches{
|
||||||
RoomVersions: &RistrettoCachePartition[string, gomatrixserverlib.RoomVersion]{ // room ID -> room version
|
RoomVersions: &RistrettoCachePartition[string, gomatrixserverlib.RoomVersion]{ // room ID -> room version
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue