mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Don't update caches replication stream if tokens haven't advanced
This commit is contained in:
parent
16284039c6
commit
64a2acb161
@ -390,7 +390,7 @@ class ReplicationResource(Resource):
|
|||||||
|
|
||||||
caches = request_streams.get("caches")
|
caches = request_streams.get("caches")
|
||||||
|
|
||||||
if caches is not None:
|
if caches is not None and current_position != caches:
|
||||||
updated_caches = yield self.store.get_all_updated_caches(
|
updated_caches = yield self.store.get_all_updated_caches(
|
||||||
caches, current_position, limit
|
caches, current_position, limit
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user