-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: limit providers from each source to half of max (#71)
* fix: limit providers from each source to half of max. This ensures we get from both the DHT and IPNI even if one is faster. * fix: handle case where maxProvidersCount is 1. Ensures that we provide at least one result for each source.
- Loading branch information
Showing
1 changed file
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters