Skip to content

Commit

Permalink
bump bottom out limit of peer search so people can use 100 concurrent…
Browse files Browse the repository at this point in the history
… announcers
  • Loading branch information
shyba committed Feb 8, 2022
1 parent 5004c93 commit 64ef302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbry/dht/node.py
Expand Up @@ -216,7 +216,7 @@ def get_iterative_value_finder(self, key: bytes, shortlist: typing.Optional[typi
key, bottom_out_limit, max_results, None, shortlist)

async def peer_search(self, node_id: bytes, count=constants.K, max_results=constants.K * 2,
bottom_out_limit=20, shortlist: typing.Optional[typing.List['KademliaPeer']] = None
bottom_out_limit=60, shortlist: typing.Optional[typing.List['KademliaPeer']] = None
) -> typing.List['KademliaPeer']:
peers = []
async for iteration_peers in self.get_iterative_node_finder(
Expand Down

0 comments on commit 64ef302

Please sign in to comment.