Try to improve connection limit handling.
This commit is contained in:
parent
b09186b0d4
commit
050c564fd7
|
@ -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