From ec07cd1b5d356423c1f37f7b8bc491add908b6a9 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 aa8bbf9..40b9b33 100644 --- a/minode/manager.py +++ b/minode/manager.py @@ -169,7 +169,7 @@ class Manager(threading.Thread): ' an I2P connection', exc_info=True) else: continue - else: + elif outgoing_connections < shared.outgoing_connections: connect((host, port)) hosts.add(group) shared.hosts = hosts