Fix find more peers to optional files
This commit is contained in:
parent
84f1718348
commit
b895ab5778
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ class WorkerManager:
|
||||||
found_peers = set([peer for hash_id_peers in found.values() for peer in hash_id_peers])
|
found_peers = set([peer for hash_id_peers in found.values() for peer in hash_id_peers])
|
||||||
self.startWorkers(found_peers)
|
self.startWorkers(found_peers)
|
||||||
|
|
||||||
if len(found) < len(optional_hash_ids):
|
if len(found) < len(optional_hash_ids) or find_more:
|
||||||
self.log.debug("No connected hashtable result for optional files: %s" % (optional_hash_ids - set(found)))
|
self.log.debug("No connected hashtable result for optional files: %s" % (optional_hash_ids - set(found)))
|
||||||
|
|
||||||
# Try to query connected peers
|
# Try to query connected peers
|
||||||
|
|
Loading…
Reference in a new issue