0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2025-01-19 06:22:04 +01:00

Remove conn_id

This commit is contained in:
Erik Johnston 2018-09-04 11:45:52 +01:00
parent 87b111f96a
commit 3e242dc149

View file

@ -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
},
)