Force find more peer for optional task after 15sec

This commit is contained in:
HelloZeroNet 2016-03-23 13:05:48 +01:00
parent 2353eed64c
commit 33430ee67b
2 changed files with 13 additions and 8 deletions

View file

@ -337,7 +337,7 @@ class FileRequest(object):
if config.verbose:
self.log.debug(
"Found: %s,%s/%s" %
"Found: IP4: %s, Onion: %s for %s hashids" %
(len(back_ip4), len(back_onion), len(params["hash_ids"]))
)
self.response({"peers": back_ip4, "peers_onion": back_onion})