Try to improve connection limit handling.

This commit is contained in:
Lee Miller 2023-03-14 23:34:32 +02:00
parent 6e2baf94dc
commit ec07cd1b5d
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -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