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 6d625b55..677218b5 100644
--- a/internal/caching/impl_ristretto.go
+++ b/internal/caching/impl_ristretto.go
@@ -100,7 +100,7 @@ func NewRistrettoCache(maxCost config.DataUnit, maxAge time.Duration, enableProm
MaxAge: maxAge,
},
},
- RoomInfos: &RistrettoCachePartition[string, types.RoomInfo]{ // room ID -> room info
+ RoomInfos: &RistrettoCachePartition[string, *types.RoomInfo]{ // room ID -> room info
cache: cache,
Prefix: roomInfosCache,
Mutable: true,