From 14a9d59edfbdda230f7344c6840ee360e11fd40a Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Thu, 7 May 2020 15:08:52 +0100 Subject: Up get_users_in_room cache size again --- synapse/storage/data_stores/main/roommember.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/data_stores/main/roommember.py b/synapse/storage/data_stores/main/roommember.py index 93411407f0..0da099311c 100644 --- a/synapse/storage/data_stores/main/roommember.py +++ b/synapse/storage/data_stores/main/roommember.py @@ -164,7 +164,7 @@ class RoomMemberWorkerStore(EventsWorkerStore): hosts = frozenset(get_domain_from_id(user_id) for user_id in user_ids) return hosts - @cached(max_entries=100000, iterable=True) + @cached(max_entries=1000000, iterable=True) def get_users_in_room(self, room_id): logger.info("Traceback: %s", traceback.format_stack()) return self.db.runInteraction( -- cgit 1.4.1