mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Reworded comment on requestedResyncPeriod
Tried to make it clearer.
This commit is contained in:
parent
eef49c965f
commit
2ea338b63f
@ -597,9 +597,12 @@ type processorListener struct {
|
|||||||
pendingNotifications buffer.RingGrowing
|
pendingNotifications buffer.RingGrowing
|
||||||
|
|
||||||
// requestedResyncPeriod is how frequently the listener wants a
|
// requestedResyncPeriod is how frequently the listener wants a
|
||||||
// full resync from the shared informer, but is bounded below by
|
// full resync from the shared informer, but modified by two
|
||||||
// `minimumResyncPeriod` and the sharedProcessor's
|
// adjustments. One is imposing a lower bound,
|
||||||
// `resyncCheckPeriod`.
|
// `minimumResyncPeriod`. The other is another lower bound, the
|
||||||
|
// sharedProcessor's `resyncCheckPeriod`, that is imposed in
|
||||||
|
// AddEventHandlerWithResyncPeriod invocations made after the
|
||||||
|
// sharedProcessor starts.
|
||||||
requestedResyncPeriod time.Duration
|
requestedResyncPeriod time.Duration
|
||||||
// resyncPeriod is the threshold that will be used in the logic
|
// resyncPeriod is the threshold that will be used in the logic
|
||||||
// for this listener. This value differs from
|
// for this listener. This value differs from
|
||||||
|
Loading…
Reference in New Issue
Block a user