Try to improve connection limit handling.
This commit is contained in:
parent
c897c299fe
commit
c1690822cd
|
@ -140,7 +140,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:
|
||||||
c = Connection(addr[0], addr[1])
|
c = Connection(addr[0], addr[1])
|
||||||
c.start()
|
c.start()
|
||||||
hosts.add(c.host)
|
hosts.add(c.host)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user