Don't have such a large cache

pull/1861/head
Erik Johnston 2017-01-30 17:12:14 +00:00
parent c7a26b7c32
commit 1c13c9f6b6
1 changed files with 1 additions and 1 deletions

View File

@ -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):