summary refs log tree commit diff
path: root/synapse/replication/resource.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-05-05 15:10:03 +0100
committerErik Johnston <erik@matrix.org>2016-05-05 15:10:03 +0100
commit8940281d1b2e67720ae257d224dbef7280cfa55c (patch)
tree68abcba4977b9fdb91babc7e4b34b031ced87819 /synapse/replication/resource.py
parentAdd some log information at returned replication streams (diff)
downloadsynapse-8940281d1b2e67720ae257d224dbef7280cfa55c.tar.xz
Don't warn
Diffstat (limited to 'synapse/replication/resource.py')
-rw-r--r--synapse/replication/resource.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/replication/resource.py b/synapse/replication/resource.py
index d7c49462ce..69ad1de863 100644
--- a/synapse/replication/resource.py
+++ b/synapse/replication/resource.py
@@ -167,8 +167,6 @@ class ReplicationResource(Resource):
                 stream_content["position"],
                 request_streams.get(stream_name),
             )
-            if stream_content["position"] == request_streams.get(stream_name):
-                logger.warn("Returning same position for stream: %s", stream_name)
 
         request.write(json.dumps(result, ensure_ascii=False))
         finish_request(request)