Try to improve connection limit handling.

This commit is contained in:
Lee Miller 2023-03-14 23:34:32 +02:00
parent 83ddc63418
commit 354c975b40
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 1 additions and 1 deletions

View File

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