mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Noted divergence between requestedResyncPeriod and resyncPeriod
This commit is contained in:
parent
5546d9f12f
commit
eef49c965f
@ -602,11 +602,12 @@ type processorListener struct {
|
|||||||
// `resyncCheckPeriod`.
|
// `resyncCheckPeriod`.
|
||||||
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 does not differ from
|
// for this listener. This value differs from
|
||||||
// requestedResyncPeriod. The actual time between resyncs depends
|
// requestedResyncPeriod only when the sharedIndexInformer does
|
||||||
// on when the sharedProcessor's `shouldResync` function is
|
// not do resyncs, in which case the value here is zero. The
|
||||||
// invoked and when the sharedIndexInformer processes `Sync` type
|
// actual time between resyncs depends on when the
|
||||||
// Delta objects.
|
// sharedProcessor's `shouldResync` function is invoked and when
|
||||||
|
// the sharedIndexInformer processes `Sync` type Delta objects.
|
||||||
resyncPeriod time.Duration
|
resyncPeriod time.Duration
|
||||||
// nextResync is the earliest time the listener should get a full resync
|
// nextResync is the earliest time the listener should get a full resync
|
||||||
nextResync time.Time
|
nextResync time.Time
|
||||||
|
Loading…
Reference in New Issue
Block a user