From 050c564fd7b25f973d878258772e829787b1e32a 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