Skip to content

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.

2 participants