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

refactor: bitswap client does not need ProviderQueryManager #676

Merged
merged 3 commits into from
Oct 15, 2024

Conversation

gammazero
Copy link
Contributor

The bitswap Client does not to hold a reference to the ProviderQueryManager. The session maintains the ProviderQueryManager reference.

The bitswap Client does not to hold a reference to the provider query manager. The session maintains the ProviderQueryManager reference.
@gammazero gammazero requested a review from a team as a code owner September 30, 2024 21:57
Copy link

codecov bot commented Sep 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.32%. Comparing base (7bf89a7) to head (2143247).
Report is 1 commits behind head on main.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #676      +/-   ##
==========================================
+ Coverage   60.30%   60.32%   +0.02%     
==========================================
  Files         243      243              
  Lines       31019    31018       -1     
==========================================
+ Hits        18705    18711       +6     
+ Misses      10649    10643       -6     
+ Partials     1665     1664       -1     
Files with missing lines Coverage Δ
bitswap/client/client.go 90.00% <100.00%> (+1.87%) ⬆️

... and 8 files with indirect coverage changes

@lidel lidel changed the title bitswap client does not need ProviderQueryManager refactor: bitswap client does not need ProviderQueryManager Oct 15, 2024
@lidel lidel enabled auto-merge (squash) October 15, 2024 16:31
@lidel lidel merged commit 08fb71d into main Oct 15, 2024
17 checks passed
@gammazero gammazero deleted the bitswap-client-no-pqm branch October 15, 2024 23:50
gammazero added a commit that referenced this pull request Oct 22, 2024
btswap client does not need ProviderQueryManager

The bitswap Client does not to hold a reference to the provider query manager. The session maintains the ProviderQueryManager reference.

(cherry picked from commit 08fb71d)
@gammazero gammazero mentioned this pull request Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants