Skip to content

Commit

Permalink
bottoming out is now warning and no results for peer search
Browse files Browse the repository at this point in the history
  • Loading branch information
shyba committed Feb 8, 2022
1 parent 24cab73 commit f952c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lbry/dht/protocol/iterative_find.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ def check_result_ready(self, response: FindNodeResponse):
if self.are_k_closest_peers_ready:
self.put_result(self.active.keys(), True)
elif self.bottom_out_count >= self.bottom_out_limit or self.iteration_count >= self.bottom_out_limit:
log.debug("peer search bottomed out.")
self.put_result(self.active.keys(), True)
log.warning("peer search bottomed out.")
self.put_result([], True)


class IterativeValueFinder(IterativeFinder):
Expand Down

0 comments on commit f952c3e

Please sign in to comment.