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(networking): QUIC receive window override env #2605

Merged

Conversation

b-zee
Copy link
Contributor

@b-zee b-zee commented Jan 7, 2025

Allow to pass ANT_MAX_STREAM_DATA=x to override the stream receive window setting in libp2p/quinn.

The default used is 10000000 (10 MiB), which is done by libp2p. Quinn by default uses 1250000 (1.25 MiB). A value recommended by community member Neo would be 500000 (500 KiB) or 250000 (250 KiB).

Example usage for the CLI:

bzee@demo:~$ ANT_MAX_STREAM_DATA=250000 ant file upload README.md
# ...

Allow to pass ANT_MAX_STREAM_DATA=x to override the stream receive
window setting in libp2p/quinn.
@b-zee b-zee force-pushed the feat-quic-stream-window-override-env-var branch from 690ca60 to 1fbab5c Compare January 7, 2025 08:01
@b-zee b-zee enabled auto-merge January 7, 2025 13:11
@b-zee b-zee added this pull request to the merge queue Jan 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 8, 2025
@b-zee b-zee added this pull request to the merge queue Jan 8, 2025
Merged via the queue into maidsafe:main with commit 605a3eb Jan 8, 2025
26 checks passed
@b-zee b-zee deleted the feat-quic-stream-window-override-env-var branch January 8, 2025 14:04
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