-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connectd: don't insist on ping replies when other traffic is flowing.
Got complaints about us hanging up on some nodes because they don't respond to pings in a timely manner (e.g. ACINQ?). This only matters to us if no other traffic is flowing, so mitigate that. This may solve the problem because we've previously seen implementations badly prioritize gossip traffic, and thus important messages can get queued behind gossip dumps! Signed-off-by: Rusty Russell <[email protected]> Changelog-Fixed: connectd: give busy peers more time to respond to pings.
- Loading branch information
1 parent
92f10f2
commit 94e7cac
Showing
3 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters