From 354c975b407150ca3ecf48d88eca602871841380 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 13e1aef..db1c2a4 100644 --- a/minode/manager.py +++ b/minode/manager.py @@ -128,7 +128,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)