-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OTA-R] Fix retries on Query Image failure due to invalid session (#1…
…8765) * Fixed this scenerio: * Requestor does one successful QueryImage (CASE established) * Provider killed * Provider relaunched * Requestor tries QueryImage again and gets the timeout error -> requestor invalidates the CASE -> requestor tries queryImage again and this time succeeds * - Add retry cap - Remove debug messages * - Consolidate code for resetting mInvalidSessionRetryCount - scripts/helpers/restyle-diff.sh * Code review changes. * Code review changes: - Set kMaxInvalidSessionRetries to 1 - Remove mInvalidSessionRetryCount and use mProviderRetryCount instead * Code review changes. - Consolidate the code for updating mCurrentUpdateState. * Reinstate mInvalidSessionRetryCount. * Remove debug code. * Code review changes. - Update comments.
- Loading branch information
1 parent
c9f9d99
commit 606d79d
Showing
3 changed files
with
34 additions
and
12 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
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