summary refs log tree commit diff
path: root/synapse/replication/resource.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-16 17:05:34 +0100
committerErik Johnston <erik@matrix.org>2016-08-16 17:05:34 +0100
commit949629291cbb71d55a549ef35287a75c1d5bb691 (patch)
treea072857c29386f884b1a4f04bc60e772be5857cb /synapse/replication/resource.py
parentDon't update caches replication stream if tokens haven't advanced (diff)
downloadsynapse-949629291cbb71d55a549ef35287a75c1d5bb691.tar.xz
Do it in storage function
Diffstat (limited to 'synapse/replication/resource.py')
-rw-r--r--synapse/replication/resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/resource.py b/synapse/replication/resource.py
index 0996054f6b..84993b33b3 100644
--- a/synapse/replication/resource.py
+++ b/synapse/replication/resource.py
@@ -390,7 +390,7 @@ class ReplicationResource(Resource):
 
         caches = request_streams.get("caches")
 
-        if caches is not None and current_position != caches:
+        if caches is not None:
             updated_caches = yield self.store.get_all_updated_caches(
                 caches, current_position, limit
             )