aboutsummaryrefslogtreecommitdiff
path: root/internal/caching/impl_inmemorylru.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-03-01 17:01:08 +0000
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-03-01 17:01:08 +0000
commit8e82739d77ea472932fd2ff7800ce744ace53bfa (patch)
tree2572d3f6f58fc8efbf238ed6bb29bc0c9b816233 /internal/caching/impl_inmemorylru.go
parentbb2380c254b65a6586137e9e0ab9e08354aa19f4 (diff)
Set max age of 5 minutes for spaces summary cache
Diffstat (limited to 'internal/caching/impl_inmemorylru.go')
-rw-r--r--internal/caching/impl_inmemorylru.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/caching/impl_inmemorylru.go b/internal/caching/impl_inmemorylru.go
index c9c8fd08..94fdd1a9 100644
--- a/internal/caching/impl_inmemorylru.go
+++ b/internal/caching/impl_inmemorylru.go
@@ -64,6 +64,7 @@ func NewInMemoryLRUCache(enablePrometheus bool) (*Caches, error) {
SpaceSummaryRoomsCacheName,
SpaceSummaryRoomsCacheMutable,
SpaceSummaryRoomsCacheMaxEntries,
+ SpaceSummaryRoomsCacheMaxAge,
enablePrometheus,
)
if err != nil {