Skip to content

Commit

Permalink
chore: improve max outgoing connections log (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmer authored Jun 20, 2024
1 parent 0be7144 commit 0f27f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libp2p/connmanager.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0f27f89

Please sign in to comment.