Skip to content
Snippets Groups Projects
Commit 1c13c9f6 authored by Erik Johnston's avatar Erik Johnston
Browse files

Don't have such a large cache

parent c7a26b7c
No related branches found
No related tags found
No related merge requests found
...@@ -131,7 +131,7 @@ class RoomMemberStore(SQLBaseStore): ...@@ -131,7 +131,7 @@ class RoomMemberStore(SQLBaseStore):
with self._stream_id_gen.get_next() as stream_ordering: with self._stream_id_gen.get_next() as stream_ordering:
yield self.runInteraction("locally_reject_invite", f, stream_ordering) yield self.runInteraction("locally_reject_invite", f, stream_ordering)
@cached(max_entries=1000000, iterable=True) @cached(max_entries=100000, iterable=True)
def get_users_in_room(self, room_id): def get_users_in_room(self, room_id):
def f(txn): def f(txn):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment