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: add flags to configure bitswap tuning params #202

Closed
wants to merge 5 commits into from

Conversation

gammazero
Copy link
Contributor

@gammazero gammazero commented Nov 22, 2024

Allow configuration of bitswap tuning params.

New CLI flags:

  • bitswap-find-provider-timeout
  • bitswap-max-concurrent-finds
  • bitswap-max-providers-per-find

New environ vars:

  • BITSWAP_FIND_PROVIDER_TIMEOUT
  • BITSWAP_MAX_CONCURRENT_FINDS
  • BITSWAP_MAX_PROVIDERS_PER_FIND

When not set, or set to 0, the bitswap default values are used.

Requires boxo PR 716

@gammazero gammazero changed the title Provide CLI flags to configure bitswap tuning params add flags to configure bitswap tuning params Nov 22, 2024
@gammazero gammazero changed the title add flags to configure bitswap tuning params feat: add flags to configure bitswap tuning params Nov 22, 2024
@gammazero
Copy link
Contributor Author

Not needed.

@gammazero gammazero closed this Nov 26, 2024
@gammazero gammazero deleted the cli-config-bitswap branch November 26, 2024 06:44
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.

1 participant