Discard the disconnected node from unchecked_node_pool
This commit is contained in:
parent
6c545087dc
commit
a69f2bc638
|
@ -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