aboutsummaryrefslogtreecommitdiff
path: root/internal/caching/impl_ristretto.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/caching/impl_ristretto.go')
-rw-r--r--internal/caching/impl_ristretto.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/caching/impl_ristretto.go b/internal/caching/impl_ristretto.go
index 00989b76..97ea9548 100644
--- a/internal/caching/impl_ristretto.go
+++ b/internal/caching/impl_ristretto.go
@@ -147,7 +147,7 @@ func NewRistrettoCache(maxCost config.DataUnit, maxAge time.Duration, enableProm
MaxAge: lesserOf(time.Hour/2, maxAge),
},
},
- SpaceSummaryRooms: &RistrettoCachePartition[string, fclient.MSC2946SpacesResponse]{ // room ID -> space response
+ RoomHierarchies: &RistrettoCachePartition[string, fclient.RoomHierarchyResponse]{ // room ID -> space response
cache: cache,
Prefix: spaceSummaryRoomsCache,
Mutable: true,