summary refs log tree commit diff
path: root/synapse/replication/resource.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-05-13 11:54:44 +0100
committerMark Haines <mark.haines@matrix.org>2016-05-13 11:54:44 +0100
commit0e792e7903d34f36a48ac09725a1f01b4fea6810 (patch)
treeaa79e5defed28a3870ccaaaead5c7e1a426299de /synapse/replication/resource.py
parentMake sure we advance our stream position (diff)
downloadsynapse-0e792e7903d34f36a48ac09725a1f01b4fea6810.tar.xz
Log the stream IDs in an order that makes sense
Diffstat (limited to '')
-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 69ad1de863..0e983ae7fa 100644
--- a/synapse/replication/resource.py
+++ b/synapse/replication/resource.py
@@ -164,8 +164,8 @@ class ReplicationResource(Resource):
                 "Replicating %d rows of %s from %s -> %s",
                 len(stream_content["rows"]),
                 stream_name,
-                stream_content["position"],
                 request_streams.get(stream_name),
+                stream_content["position"],
             )
 
         request.write(json.dumps(result, ensure_ascii=False))