mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-07 07:12:13 -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
|
@ -33,6 +33,6 @@ class RoomStore(RoomWorkerStore, BaseSlavedStore):
|
|||
|
||||
def process_replication_rows(self, stream_name, instance_name, token, rows):
|
||||
if stream_name == PublicRoomsStream.NAME:
|
||||
self._public_room_id_gen.advance(token)
|
||||
self._public_room_id_gen.advance(instance_name, token)
|
||||
|
||||
return super().process_replication_rows(stream_name, instance_name, token, rows)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue