summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-09-04 11:45:52 +0100
committerErik Johnston <erik@matrix.org>2018-09-04 11:45:52 +0100
commit3e242dc14976bf455717c5f631a997a2c0e5f2c4 (patch)
tree7989cf731ee6ed6e41d2d0c2a376cfcf89a165a7 /synapse/replication
parentNewsfile (diff)
downloadsynapse-3e242dc14976bf455717c5f631a997a2c0e5f2c4.tar.xz
Remove conn_id
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/tcp/protocol.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/replication/tcp/protocol.py b/synapse/replication/tcp/protocol.py
index 0d28152703..5dc7b3fffc 100644
--- a/synapse/replication/tcp/protocol.py
+++ b/synapse/replication/tcp/protocol.py
@@ -590,9 +590,9 @@ class ClientReplicationStreamProtocol(BaseReplicationStreamProtocol):
 pending_commands = LaterGauge(
     "synapse_replication_tcp_protocol_pending_commands",
     "",
-    ["name", "conn_id"],
+    ["name"],
     lambda: {
-        (p.name, p.conn_id): len(p.pending_commands) for p in connected_connections
+        (p.name,): len(p.pending_commands) for p in connected_connections
     },
 )