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: improve ping accuracy #35

Merged
merged 1 commit into from
Nov 6, 2020
Merged

feat: improve ping accuracy #35

merged 1 commit into from
Nov 6, 2020

Conversation

Stebalien
Copy link
Member

This patch sends pings on their own (unbuffered) channel. This means:

  • keepalives never get stuck behind pending writes.
  • because this channel is unbuffered, RTT is more accurately measured.

@Stebalien Stebalien requested a review from willscott November 6, 2020 00:14
session.go Show resolved Hide resolved
session.go Show resolved Hide resolved
session.go Show resolved Hide resolved
This patch sends pings on their own (unbuffered) channel. This means:

- keepalives never get stuck behind pending writes.
- because this channel is unbuffered, RTT is more accurately measured.
@Stebalien Stebalien merged commit 7a85a06 into master Nov 6, 2020
@aschmahmann aschmahmann mentioned this pull request Feb 18, 2021
73 tasks
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