Skip to content

Commit a5bf630

Browse files
authored
Merge pull request #107 from grantr/clarify-resync-comment
Clarify SyncPeriod comment
2 parents 136e9e1 + 67a3ae9 commit a5bf630

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pkg/manager/manager.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,10 @@ type Options struct {
7676
// MapperProvider provides the rest mapper used to map go types to Kubernetes APIs
7777
MapperProvider func(c *rest.Config) (meta.RESTMapper, error)
7878

79-
// SyncPeriod determines the minimum frequency at which watched objects are
80-
// reconciled. A lower period will correct entropy more quickly but reduce
81-
// responsiveness to change. Choose a low value if reconciles are fast and/or
82-
// there are few objects to reconcile. Choose a high value if reconciles are
83-
// slow and/or there are many object to reconcile. Defaults to 10 hours if
84-
// unset.
79+
// SyncPeriod determines the minimum frequency at which watched resources are
80+
// reconciled. A lower period will correct entropy more quickly, but reduce
81+
// responsiveness to change if there are many watched resources. Change this
82+
// value only if you know what you are doing. Defaults to 10 hours if unset.
8583
SyncPeriod *time.Duration
8684

8785
// Dependency injection for testing

0 commit comments

Comments
 (0)