Try to improve connection limit handling.
This commit is contained in:
parent
6e2baf94dc
commit
ec07cd1b5d
|
@ -169,7 +169,7 @@ class Manager(threading.Thread):
|
||||||
' an I2P connection', exc_info=True)
|
' an I2P connection', exc_info=True)
|
||||||
else:
|
else:
|
||||||
continue
|
continue
|
||||||
else:
|
elif outgoing_connections < shared.outgoing_connections:
|
||||||
connect((host, port))
|
connect((host, port))
|
||||||
hosts.add(group)
|
hosts.add(group)
|
||||||
shared.hosts = hosts
|
shared.hosts = hosts
|
||||||
|
|
Loading…
Reference in New Issue
Block a user