forked from LBRYCommunity/lbry-sdk
dht_crawler: only warn for missing key if it replied
This commit is contained in:
parent
137d8ca4ac
commit
adc79ec404
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class Crawler:
|
||||||
pass
|
pass
|
||||||
self.set_latency(make_kademlia_peer(key, address, port), latency if key else None)
|
self.set_latency(make_kademlia_peer(key, address, port), latency if key else None)
|
||||||
if not latency or not key:
|
if not latency or not key:
|
||||||
if not key:
|
if latency and not key:
|
||||||
log.warning("No node id from %s:%d", host, port)
|
log.warning("No node id from %s:%d", host, port)
|
||||||
return set()
|
return set()
|
||||||
node_id = key
|
node_id = key
|
||||||
|
|
Loading…
Add table
Reference in a new issue