Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171)

This commit is contained in:
Erik Johnston 2020-08-26 13:15:20 +01:00 committed by GitHub
parent 4c6c56dc58
commit e3c91a3c55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 16 additions and 15 deletions

View file

@ -46,7 +46,7 @@ class SlavedDeviceInboxStore(DeviceInboxWorkerStore, BaseSlavedStore):
def process_replication_rows(self, stream_name, instance_name, token, rows):
if stream_name == ToDeviceStream.NAME:
self._device_inbox_id_gen.advance(token)
self._device_inbox_id_gen.advance(instance_name, token)
for row in rows:
if row.entity.startswith("@"):
self._device_inbox_stream_cache.entity_has_changed(