-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better handle RequeueWithoutBackoff after in backoff
* expand locking to cover updating backoffDuration * use atomic ops for backoffCounter * set RDY 0 before setting backoff timer (for cases when timer is 0) * clarify/consolidated backoff/resume functions
- Loading branch information
Showing
5 changed files
with
213 additions
and
113 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
Oops, something went wrong.
@jehiah noticed you're testing r.backoffCounter but using the local backoffCounter when calling the backoff strategy/logging. shouldn't have any impact since startStopContinueBackoff is the only method which updates r.backoffCounter.