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

feat(shwap/bitswap): use new option for optimized Has check #3813

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Wondertan
Copy link
Member

This option instructs Bitswap to use Has call instead of GetSize on Blockstore for WANT_HAVE message, which prevents Store from loading and caching eds files in memory. Instead, the Bitswap now simply check eds file presence on the disk.

@Wondertan Wondertan added kind:feat Attached to feature PRs shwap labels Oct 4, 2024
@Wondertan Wondertan self-assigned this Oct 4, 2024
Copy link
Contributor

@cristaloleg cristaloleg left a comment

Choose a reason for hiding this comment

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

SGTM

@Wondertan
Copy link
Member Author

Keeping this draft until further testing. This change seems to make request timeout issues worth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feat Attached to feature PRs shwap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants