-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reconciler: Fix refresh timer calculation
The refresh loop was supposed to wait until the oldest object's UpdatedAt time exceeds the RefreshInterval. Unfortunately the calculation was reversed and the refresh duration to wait became negative, which caused the refreshLoop to busy-loop looking for the next object to refresh. This did not affect correctness as the timer was only used to wait before checking for expired objects and thus was not catched. Signed-off-by: Jussi Maki <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
19 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