From 0f27f896ab69b40e8f566e77646c6980238a3a13 Mon Sep 17 00:00:00 2001 From: gabrielmer <101006718+gabrielmer@users.noreply.github.com> Date: Thu, 20 Jun 2024 11:51:13 +0200 Subject: [PATCH] chore: improve max outgoing connections log (#1129) --- libp2p/connmanager.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/connmanager.nim b/libp2p/connmanager.nim index dd9a02d29..e7b43f66e 100644 --- a/libp2p/connmanager.nim +++ b/libp2p/connmanager.nim @@ -331,7 +331,7 @@ proc getOutgoingSlot*( c.outSema.forceAcquire() elif not c.outSema.tryAcquire(): trace "Too many outgoing connections!", - count = c.outSema.count, max = c.outSema.size + available = c.outSema.count, max = c.outSema.size raise newTooManyConnectionsError() return ConnectionSlot(connManager: c, direction: Out)