diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-04-06 13:21:19 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-04-06 13:21:19 +0100 |
commit | 196ebaf6623c3eb34e2ea9f65652b5cec6ef4bb4 (patch) | |
tree | 48465a8a5dba436fe884d7f2ac68ab9927afaba1 /synapse/storage/receipts.py | |
parent | Merge pull request #692 from matrix-org/markjh/replicate_reshuffle (diff) | |
parent | Make the cache objects be per instance rather than being global (diff) | |
download | synapse-196ebaf6623c3eb34e2ea9f65652b5cec6ef4bb4.tar.xz |
Merge pull request #695 from matrix-org/markjh/cachesII
Make the cache objects be per instance rather than being global
Diffstat (limited to 'synapse/storage/receipts.py')
-rw-r--r-- | synapse/storage/receipts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/receipts.py b/synapse/storage/receipts.py index 4befebc8e2..7fdd84bbdc 100644 --- a/synapse/storage/receipts.py +++ b/synapse/storage/receipts.py @@ -160,8 +160,8 @@ class ReceiptsStore(SQLBaseStore): "content": content, }]) - @cachedList(cache=get_linearized_receipts_for_room.cache, list_name="room_ids", - num_args=3, inlineCallbacks=True) + @cachedList(cached_method_name="get_linearized_receipts_for_room", + list_name="room_ids", num_args=3, inlineCallbacks=True) def _get_linearized_receipts_for_rooms(self, room_ids, to_key, from_key=None): if not room_ids: defer.returnValue({}) |