forked from LBRYCommunity/lbry-sdk
log a warning when peer search times out for real
This commit is contained in:
parent
023846703b
commit
7e0784d8e0
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ class DHTPeerFinder(DummyPeerFinder):
|
|||
try:
|
||||
peer_list = yield finished_deferred
|
||||
except defer.TimeoutError:
|
||||
log.warning("DHT timed out while looking peers for blob {}".format(blob_hash))
|
||||
peer_list = []
|
||||
|
||||
peers = set(peer_list)
|
||||
|
|
Loading…
Reference in a new issue