-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
routecontroller: Add wait.NonSlidingUntil, use it #26301
Conversation
Make sure the reconciliation loop kicks in again immediately if it takes a loooooong time.
cc @krousey |
LGTM with 2 conditions.
|
LGTM - thanks! |
GCE e2e build/test passed for commit 3ec25c5. |
Automatic merge from submit-queue |
} | ||
|
||
select { | ||
case <-stopCh: | ||
return | ||
case <-time.After(jitteredPeriod): | ||
case <-t.C: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a race that can occur here when sliding is true, and jitterPeriod is 0, and a stopCh + t.C are triggered in close succession. #26782 (comment)
/cc @wojtek-t @mikedanese
Make sure the reconciliation loop kicks in again immediately if it
takes a loooooong time.