From c7fbb9c236883cc10cde8d605e4a9e78d39bbd8c Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Sun, 15 Aug 2021 00:11:19 +0200
Subject: [PATCH] matrix: Use 5.0 for get_users_in_room

Other caches around this code use 500000 entries, so just copy that.
---
 roles/matrix/templates/homeserver.yaml.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/matrix/templates/homeserver.yaml.j2 b/roles/matrix/templates/homeserver.yaml.j2
index 294fb649d..8f4c518d3 100644
--- a/roles/matrix/templates/homeserver.yaml.j2
+++ b/roles/matrix/templates/homeserver.yaml.j2
@@ -715,7 +715,7 @@ caches:
   #
   per_cache_factors:
     #get_users_who_share_room_with_user: 2.0
-    get_users_in_room: 2.0
+    get_users_in_room: 5.0
 
   # Controls how long an entry can be in a cache without having been
   # accessed before being evicted. Defaults to None, which means
-- 
GitLab