Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: limit providers from each source to half of max #71

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

2color
Copy link
Member

@2color 2color commented Oct 1, 2024

What's in this PR

  • Ensure we get from both the DHT and IPNI even if one is faster and has 10 (the max constant) providers

Related to #70

this ensures we get from both the DHT and IPNI even if one is faster
ensure that we provide at least one result for each source
@2color 2color requested a review from gammazero October 1, 2024 18:25
Copy link
Contributor

@gammazero gammazero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gammazero gammazero merged commit a727540 into main Oct 3, 2024
11 checks passed
@gammazero gammazero deleted the fix-providers-sources branch October 3, 2024 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants