Discard the bootstrapping target from node pool before connecting

This commit is contained in:
Lee Miller 2024-11-04 05:10:08 +02:00
parent efc4be0ec1
commit 78e14c1e62
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -96,6 +96,7 @@ class Manager(threading.Thread):
self.fill_bootstrap_pool()
return
logging.info('Starting a bootstrapper for %s:%s', *target)
shared.node_pool.discard(target)
connect(target, Bootstrapper)
outgoing_connections = 0