diff options
author | Erik Johnston <erik@matrix.org> | 2017-01-30 17:12:14 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-01-30 17:12:14 +0000 |
commit | 1c13c9f6b6298b8f2688eb86b6a4f6af6b1d1fca (patch) | |
tree | e7daec9cf524079f4c8da6031efb1358168bd20d /synapse/storage/roommember.py | |
parent | Fix unit tests (diff) | |
download | synapse-1c13c9f6b6298b8f2688eb86b6a4f6af6b1d1fca.tar.xz |
Don't have such a large cache
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/roommember.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index 6cf1a538ae..0fdcf29085 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -131,7 +131,7 @@ class RoomMemberStore(SQLBaseStore): with self._stream_id_gen.get_next() as 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 f(txn): |