-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fw_download: implement retry with backoff for firmware update
When awaiting a retry, use the timeout value of the manifest semaphore to wait until the appropriate backoff duration has passed before retrying a download. This allows a new manifest to be received and acted upon while awaiting a retry. Set up the component for a retry as soon as the download step has finished (whether it is a success or failure). The retry continues to be in effect until all validation and other steps of the fw_update process have been confirmed. Finally, reset the backoff values to indicate a retry is not necessary. Signed-off-by: Mike Szczys <[email protected]>
- Loading branch information
Showing
1 changed file
with
35 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