summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-07-12 09:46:29 +0100
committerGitHub <noreply@github.com>2018-07-12 09:46:29 +0100
commit0456e05977627a88674976215af3603122747aa5 (patch)
treedebd2dc3a68d87e5a5ac9a192ddd9e8d8b67cd83 /synapse/replication
parentMerge pull request #3498 from OlegGirko/fix_attrs_syntax (diff)
parentUpdate return value docstring (diff)
downloadsynapse-0456e05977627a88674976215af3603122747aa5.tar.xz
Merge pull request #3505 from matrix-org/erikj/receipts_cahce
Use stream cache in get_linearized_receipts_for_room
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/receipts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/receipts.py b/synapse/replication/slave/storage/receipts.py
index 7ab12b850f..ed12342f40 100644
--- a/synapse/replication/slave/storage/receipts.py
+++ b/synapse/replication/slave/storage/receipts.py
@@ -49,7 +49,7 @@ class SlavedReceiptsStore(ReceiptsWorkerStore, BaseSlavedStore):
 
     def invalidate_caches_for_receipt(self, room_id, receipt_type, user_id):
         self.get_receipts_for_user.invalidate((user_id, receipt_type))
-        self.get_linearized_receipts_for_room.invalidate_many((room_id,))
+        self._get_linearized_receipts_for_room.invalidate_many((room_id,))
         self.get_last_receipt_event_id_for_user.invalidate(
             (user_id, room_id, receipt_type)
         )