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

quic: increase timeout and keep alive #4585

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

0x0ece
Copy link

@0x0ece 0x0ece commented Jan 22, 2025

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 60s and keep alive to 45s.

@mergify mergify bot requested a review from a team January 22, 2025 22:03
alessandrod
alessandrod previously approved these changes Jan 22, 2025
@lijunwangs
Copy link

Maybe we should different timeout values: stream timeout and idle connection timeout (controlled by the ping)

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.

3 participants