From c1690822cd6848526ee47ffe35f107b3b3deff4e Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Tue, 14 Mar 2023 23:34:32 +0200 Subject: [PATCH] Try to improve connection limit handling. --- minode/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minode/manager.py b/minode/manager.py index 93a3f30..8393f64 100644 --- a/minode/manager.py +++ b/minode/manager.py @@ -140,7 +140,7 @@ class Manager(threading.Thread): ' an I2P connection', exc_info=True) else: continue - else: + elif outgoing_connections < shared.outgoing_connections: c = Connection(addr[0], addr[1]) c.start() hosts.add(c.host)