Skip to content

Commit 159caaf

Browse files
committed
main.go: backwards-compat - default --reconcile-period to 1m
1 parent b5a2b33 commit 159caaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func main() {
7272
"Namespace in which to create the leader election configmap for holding the leader lock (required if running locally).")
7373

7474
pflag.StringVar(&watchesFile, "watches-file", "./watches.yaml", "Path to watches.yaml file.")
75-
pflag.DurationVar(&defaultReconcilePeriod, "reconcile-period", 0, "Default reconcile period for controllers (use 0 to disable periodic reconciliation)")
75+
pflag.DurationVar(&defaultReconcilePeriod, "reconcile-period", time.Minute, "Default reconcile period for controllers (use 0 to disable periodic reconciliation)")
7676
pflag.IntVar(&defaultMaxConcurrentReconciles, "max-concurrent-reconciles", runtime.NumCPU(), "Default maximum number of concurrent reconciles for controllers.")
7777

7878
// Deprecated: --max-workers flag does not align well with the name of the option it configures on the controller

0 commit comments

Comments
 (0)