File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,10 @@ type Options struct {
148148 Mapper meta.RESTMapper
149149
150150 // SyncPeriod determines the minimum frequency at which watched resources are
151- // reconciled. A lower period will correct entropy more quickly, but reduce
151+ // reconciled. It causes all resources in the local cache to be re-enqueued
152+ // for reconciliation, even if there are no new events. It does
153+ // not sync between the api-server and the local cache.
154+ // A lower period will correct entropy more quickly, but reduce
152155 // responsiveness to change if there are many watched resources. Change this
153156 // value only if you know what you are doing. Defaults to 10 hours if unset.
154157 // there will a 10 percent jitter between the SyncPeriod of all controllers
@@ -174,8 +177,8 @@ type Options struct {
174177 // instead of `reconcile.Result{}`.
175178 //
176179 // SyncPeriod will trigger update events with the old object being equal to the new
177- // object, except when the cache was out of sync.
178- // If you filter update events like this:
180+ // object. If you filter update events like this:
181+ //
179182 // Controller.Watch(
180183 // &source.Kind{Type: v1.MyCustomKind},
181184 // &handler.EnqueueRequestForObject{},
You can’t perform that action at this time.
0 commit comments