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(iroh): Do not set low max streams in builder #2593

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

flub
Copy link
Contributor

@flub flub commented Aug 5, 2024

Description

This removes the max streams in the builder. This makes little sense
when users are allowed to create their custom protocol.

right now both uni and bidirectional streams default to 100 max, which
is reasonable for now. We should allow fully customising the
TransportConfig later.

Breaking Changes

I don't think this counts as a breaking change. If we want to lower
one of these later it would be, but we're probably fine with 100 by
default?

Notes & open questions

See #2592

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

This removes the max streams in the builder.  This makes little sense
when users are allowed to create their custom protocol.

right now both uni and bidirectional streams default to 100 max, which
is reasonable for now.  We should allow fully customising the
TransportConfig later.
Copy link

github-actions bot commented Aug 5, 2024

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/2593/docs/iroh/

Last updated: 2024-08-05T20:12:33Z

@dignifiedquire dignifiedquire added this pull request to the merge queue Aug 5, 2024
Merged via the queue into main with commit 215cd1d Aug 5, 2024
31 checks passed
@flub flub deleted the flub/iroh-node-builder-no-max-streams branch August 6, 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
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants