diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-31 16:19:36 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-31 16:19:44 +0100 |
commit | 5405351b147cb5e1b62651fd0c5ad95c5e0569e6 (patch) | |
tree | f62d918979c9a6e1969102f1ac42b375b02b7476 | |
parent | Merge pull request #1053 from Takios/develop (diff) | |
download | synapse-5405351b147cb5e1b62651fd0c5ad95c5e0569e6.tar.xz |
Lower get_linearized_receipts_for_room cache size
-rw-r--r-- | synapse/storage/receipts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/receipts.py b/synapse/storage/receipts.py index ccc3811e84..9747a04a9a 100644 --- a/synapse/storage/receipts.py +++ b/synapse/storage/receipts.py @@ -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. |