Skip to content

quic: increase timeout and keep alive#4695

Closed
0x0ece wants to merge 1 commit into
anza-xyz:masterfrom
0x0ece:quic-timeout-2
Closed

quic: increase timeout and keep alive#4695
0x0ece wants to merge 1 commit into
anza-xyz:masterfrom
0x0ece:quic-timeout-2

Conversation

@0x0ece
Copy link
Copy Markdown

@0x0ece 0x0ece commented Jan 29, 2025

Note: reopening #4585, reverted in #4637, to investigate CI issues

Problem

Quic timeout and keep alive are very low.
When a validator is not leader, it still has thousands of connections open that are not expected to send any data.
Because keep alive is 1s, each client sends a quic ping every second, which is a lot of unnecessary traffic.

Summary of Changes

Increased timeout to 30s and keep alive to 20s.

@mergify mergify Bot requested a review from a team January 29, 2025 22:29
@0x0ece 0x0ece force-pushed the quic-timeout-2 branch 2 times, most recently from fc4952e to 0a2de44 Compare January 30, 2025 17:37
@joncinque
Copy link
Copy Markdown

This PR contains changes to the solana sdk, which will be moved to a new repo within the next week, when v2.2 is branched from master.

Please merge or close this PR as soon as possible, or re-create the sdk changes when the new repository is ready at https://github.com/anza-xyz/solana-sdk

@0x0ece 0x0ece closed this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants