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

expose DontHaveTimeoutConfig #846

Merged
merged 1 commit into from
Feb 16, 2025
Merged

Conversation

gammazero
Copy link
Contributor

This was missed in an earlier PR, and the config needs to be exposed using a type alias as the type is defined in an internal package.

  • Add DontHaveConfigConfig type alias in bitswap client
  • Add DefaultDontHaveConfigConfig function to get struct populated with default values.

Closes #842

This was missed in an earlier PR, and the config needs to be exposed using a type alias as the type is defined in an internal package.

- Add `DontHaveConfigConfig` type alias in bitswap client
- Add `DefaultDontHaveConfigConfig` function to get struct populated with default values.

Closes #842
@gammazero gammazero requested a review from a team as a code owner February 15, 2025 08:10
Copy link

codecov bot commented Feb 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.48%. Comparing base (24b6bc3) to head (b4a9681).
Report is 1 commits behind head on main.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #846      +/-   ##
==========================================
+ Coverage   60.37%   60.48%   +0.11%     
==========================================
  Files         243      244       +1     
  Lines       31119    31144      +25     
==========================================
+ Hits        18787    18839      +52     
+ Misses      10648    10624      -24     
+ Partials     1684     1681       -3     
Files with missing lines Coverage Δ
bitswap/client/client.go 86.25% <100.00%> (+3.55%) ⬆️

... and 11 files with indirect coverage changes

@gammazero gammazero merged commit 6b8a59f into main Feb 16, 2025
15 checks passed
@gammazero gammazero deleted the expose-dont-have-timeout-config branch February 16, 2025 21:57
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.

bitswap/messagequeue: DontHaveTimeoutConfig is not exported
2 participants