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

docs(iroh-net): Improve last_pong field docs #2747

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

flub
Copy link
Contributor

@flub flub commented Sep 25, 2024

Description

This is a bit confusing, at least this description is closer to the
reality.

Breaking Changes

None

Notes & open questions

Not mentioning PING_TIMEOUT_DURATION since that is not strictly true,
if the socket has signs of being alive but a pong is lost it will
still be considered alive and the pong timeout will not be cleared.

Change checklist

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

This is a bit confusing, at least this description is closer to the
reality.

Not mentioning PING_TIMEOUT_DURATION since that is not strictly true,
if the socket has signs of being alive but a pong is lost it will
still be considered alive and the pong timeout will not be cleared.
We have too many of these already.
Copy link

github-actions bot commented Sep 25, 2024

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

Last updated: 2024-09-25T09:54:10Z

@divagant-martian
Copy link
Contributor

Both seemed fine to me 😊

@divagant-martian divagant-martian added this pull request to the merge queue Sep 25, 2024
Merged via the queue into main with commit 19c8fd3 Sep 25, 2024
27 checks passed
@flub flub deleted the flub/pong-reply-docs branch September 25, 2024 13:40
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