-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better randomization of reconnection delay (#1250)
Randomization is necessary, otherwise if two peers attempt to reconnect to each other in a synchronized fashion, they will enter in a disconnect-reconnect loop. We already had randomization for the initial reconnection attempt, but further reconnection attempts were using a deterministic schedule following an exponential backoff curve. Fixes #1238.
- Loading branch information
Showing
2 changed files
with
11 additions
and
5 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