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

peer: Offset ping interval from idle timeout. #2796

Merged
merged 1 commit into from
Nov 10, 2021

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Nov 10, 2021

This modifies the ping interval to be defined in terms of the default idle timeout such that it is shorter and relatively prime to it to help prevent undesirable disconnects in higher latency scenarios.

This modifies the ping interval to be defined in terms of the default
idle timeout such that it is shorter and relatively prime to it to help
prevent undesirable disconnects in higher latency scenarios.
@davecgh davecgh added this to the 1.7.0 milestone Nov 10, 2021
Copy link
Member

@chappjc chappjc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working fine for me together with decred/dcrwallet@0cfb88f

@davecgh davecgh merged commit 3a458e1 into decred:master Nov 10, 2021
@davecgh davecgh deleted the peer_offset_idle_ping_timeouts branch November 10, 2021 22:30
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.

3 participants