chore: improve max outgoing connections log (#1129)
This commit is contained in:
parent
0be7144e34
commit
0f27f896ab
|
@ -331,7 +331,7 @@ proc getOutgoingSlot*(
|
||||||
c.outSema.forceAcquire()
|
c.outSema.forceAcquire()
|
||||||
elif not c.outSema.tryAcquire():
|
elif not c.outSema.tryAcquire():
|
||||||
trace "Too many outgoing connections!",
|
trace "Too many outgoing connections!",
|
||||||
count = c.outSema.count, max = c.outSema.size
|
available = c.outSema.count, max = c.outSema.size
|
||||||
raise newTooManyConnectionsError()
|
raise newTooManyConnectionsError()
|
||||||
return ConnectionSlot(connManager: c, direction: Out)
|
return ConnectionSlot(connManager: c, direction: Out)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue