-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reconciler: Fix retries.Add() when called multiple times
The Add() function did not properly handle the case when an item was Add()'d that was still in the queue. This happened via the full reconciliation where it was queueing retries for failed refreshes. The effect of the bug was that the same item could end up in the retry queue multiple times. This combined with the miscalculation of the retryAt time eventually caused an item to be retried without any backoff. Signed-off-by: Jussi Maki <[email protected]>
- Loading branch information
Showing
2 changed files
with
53 additions
and
24 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