Lower get_linearized_receipts_for_room cache size

This commit is contained in:
Erik Johnston 2016-08-31 16:19:36 +01:00
parent 1b91ff685f
commit 5405351b14

View file

@ -145,7 +145,7 @@ class ReceiptsStore(SQLBaseStore):
defer.returnValue([ev for res in results.values() for ev in res])
@cachedInlineCallbacks(num_args=3, max_entries=5000, tree=True)
@cachedInlineCallbacks(num_args=3, tree=True)
def get_linearized_receipts_for_room(self, room_id, to_key, from_key=None):
"""Get receipts for a single room for sending to clients.