Discard disconnected node from unchecked_node_pool
This commit is contained in:
parent
77125b9d59
commit
958f202cef
|
@ -396,6 +396,7 @@ class ConnectionBase(threading.Thread):
|
|||
logging.warning(
|
||||
'Disconnecting v%s node %s with nonce %s',
|
||||
version.protocol_version, self.host_print, nonce_print)
|
||||
shared.unchecked_node_pool.discard((self.host, self.port))
|
||||
self.status = 'disconnecting'
|
||||
self.send_queue.put(None)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user