-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: re-implement the OTA progress stats collector (#352)
This PR re-implements the OTA progress stats collector implementation as it is out-of-date considering the recent changes to otaclient module. The new implementation is simpler and fits the current otaclient module. Other changes: 1. otaclient: use DownloaderPool's watchdog func instead of OTAUpdater's one. 2. fix tests cannot exit cleanly on failure due to background OTA image server process doesn't exit. 3. OTAUpdater implements a minimum 1s interval for status query and implements the cache of status response. Query frequent than min interval will be responded with cached status response.
- Loading branch information
1 parent
5c547dc
commit 85ae396
Showing
7 changed files
with
328 additions
and
412 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
Oops, something went wrong.
85ae396
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report