From f952c3e1d8f931ade2b88e7bde3cb290503047cb Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 8 Feb 2022 20:00:29 -0300 Subject: [PATCH] bottoming out is now warning and no results for peer search --- lbry/dht/protocol/iterative_find.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/dht/protocol/iterative_find.py b/lbry/dht/protocol/iterative_find.py index e334c3f61a..dfeb4795a1 100644 --- a/lbry/dht/protocol/iterative_find.py +++ b/lbry/dht/protocol/iterative_find.py @@ -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):