diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-05-07 15:08:52 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-05-07 15:08:52 +0100 |
commit | 14a9d59edfbdda230f7344c6840ee360e11fd40a (patch) | |
tree | cacb0eaac8238b4fd48981c6b7bf4971bdc0cb72 | |
parent | Don't async too many things (diff) | |
download | synapse-14a9d59edfbdda230f7344c6840ee360e11fd40a.tar.xz |
Up get_users_in_room cache size again
-rw-r--r-- | synapse/storage/data_stores/main/roommember.py | 2 |
1 files changed, 1 insertions, 1 deletions
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( |