mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 03:04:16 -04:00
Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171)
This commit is contained in:
parent
4c6c56dc58
commit
e3c91a3c55
12 changed files with 16 additions and 15 deletions
|
@ -46,7 +46,7 @@ class SlavedReceiptsStore(ReceiptsWorkerStore, BaseSlavedStore):
|
|||
|
||||
def process_replication_rows(self, stream_name, instance_name, token, rows):
|
||||
if stream_name == ReceiptsStream.NAME:
|
||||
self._receipts_id_gen.advance(token)
|
||||
self._receipts_id_gen.advance(instance_name, token)
|
||||
for row in rows:
|
||||
self.invalidate_caches_for_receipt(
|
||||
row.room_id, row.receipt_type, row.user_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue