-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Reconnection attempts delay should be constant (#120)
* Constant delay between reconnection attempts - In 5f3e237 we added a backoff up to a configurable number of retries. - When this number of retries is unset we could end up sleeping for a very long time before reconnection attempts. - Instead preserve the previous behaviour of sleeping for a fixed 1 second interval between reconnection attempts when the max retries is unset. - Remove ServerPollingInterval const that was only in use by the tests. * Cap reconnect delay at one minute --------- Signed-off-by: Rebecca Roberts <[email protected]>
- 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