-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core/connection: dont cancel transient disconnect timer with connecti…
…ng status At the moment, if a connecting status is received during a transient disconnect timer, we cancel the timer. This isn't really ideal - as it defeats the point of a transient disconnect timeout. Equally, we suppress the error that caused the state in the first place. This change: - Will only cancel the transient disconnect timeout on a state that isn't connecting. - When the transient disconnect timeout timer expires, it will pass the *current* status, but with the error from the original state change.
- Loading branch information
Showing
2 changed files
with
175 additions
and
66 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