-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(azure-iot-device): ReconnectStage State Machine Overhaul (#844)
* Auto-reconnect and SAS renewals should no longer cause problems if one or the other is turned off * Operations now fail if they require a connection, and one cannot be automatically established * All user-initiated actions should now return errors in case of failure rather than any kind of indefinite retry * Created completely separate flows for automatic reconnection vs other connections * Added more explicitness in conditional logic and improved documentation for clarity
- Loading branch information
1 parent
adfe9ac
commit 43c5fb6
Showing
7 changed files
with
1,477 additions
and
1,652 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
601 changes: 350 additions & 251 deletions
601
azure-iot-device/azure/iot/device/common/pipeline/pipeline_stages_base.py
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.