diff options
author | Erik Johnston <erik@matrix.org> | 2018-09-04 11:45:52 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-09-04 11:45:52 +0100 |
commit | 3e242dc14976bf455717c5f631a997a2c0e5f2c4 (patch) | |
tree | 7989cf731ee6ed6e41d2d0c2a376cfcf89a165a7 /synapse | |
parent | Newsfile (diff) | |
download | synapse-3e242dc14976bf455717c5f631a997a2c0e5f2c4.tar.xz |
Remove conn_id
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/replication/tcp/protocol.py | 4 |
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 }, ) |