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: disable bitswap provider announcements #132

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Apr 24, 2024

When introducing #114, we enabled provider announcements for the Bitswap server when the peering shared cache is enabled. That is not needed, and only adds additional work load to the Rainbow node. Here we disable it (it's true by default).

@hacdias hacdias force-pushed the bw-disable-provide-announcements branch from 0026cd5 to 86c7e92 Compare April 24, 2024 14:16
@hacdias hacdias requested a review from lidel April 24, 2024 14:19
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

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

Makes sense to disable this, but growing wantlist feels like something caused by something else.

Ref. https://github.com/ipfs/boxo/blob/eeea414587350401b6b804f0574ed8436833331d/bitswap/client/docs/how-bitswap-works.md#providing

@hacdias hacdias enabled auto-merge (rebase) April 24, 2024 14:24
@hacdias hacdias merged commit 6392c9b into main Apr 24, 2024
12 checks passed
@hacdias hacdias deleted the bw-disable-provide-announcements branch April 24, 2024 14:30
@2color
Copy link
Member

2color commented Apr 26, 2024

Out of curiosity, what is Bitswap provider announcements and is it documented anywhere?

@hacdias
Copy link
Member Author

hacdias commented Apr 26, 2024

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.

3 participants