-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: retry polling with separate interval
Changelog: On failures attempting to communicate with the server when submitting inventory or polling for deployment, a backoff mechanism will cancel and take over for the `InventoryPollIntervalSeconds` and `UpdatePollIntervalSeconds` intervals. The maxmimum backoff interval is configured with `RetryPollIntervalSeconds`, and it will retry `RetryPollCount` times. This allows mender-update to recover quicker in case of potential race conditions, such as if mender-update starts polling before mender-auth has generated the key on first boot. Ticket: MEN-7790 Signed-off-by: Daniel Skinstad Drabitzius <daniel.drabitzius@northern.tech>
- Loading branch information
1 parent
97f1bfa
commit 89b7921
Showing
3 changed files
with
122 additions
and
18 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