Skip to content

Commit 9f84d9a

Browse files
authored
Change default minimum reconcile interval to 5 seconds (#672)
Signed-off-by: Melissa Lee <[email protected]>
1 parent 747039f commit 9f84d9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func DefaultOpConfig() *sync.Map {
158158
cfg.Store(OpConfigCMCADuration, "8766h")
159159
cfg.Store(OpConfigCMCertDuration, "2160h")
160160
cfg.Store(OpConfigLogLevel, logLevelInfo)
161-
cfg.Store(OpConfigReconcileIntervalSeconds, "15")
161+
cfg.Store(OpConfigReconcileIntervalSeconds, "5")
162162
cfg.Store(OpConfigReconcileIntervalPercentage, "100")
163163
return cfg
164164
}

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ require (
99
github.com/openshift/library-go v0.0.0-20231002074440-3f69f773d102
1010
github.com/pkg/errors v0.9.1
1111
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.71.2
12+
go.uber.org/zap v1.26.0
1213
k8s.io/api v0.28.9
1314
k8s.io/apimachinery v0.28.9
1415
k8s.io/client-go v0.28.9
@@ -53,7 +54,6 @@ require (
5354
github.com/prometheus/procfs v0.12.0 // indirect
5455
github.com/spf13/pflag v1.0.5 // indirect
5556
go.uber.org/multierr v1.11.0 // indirect
56-
go.uber.org/zap v1.26.0 // indirect
5757
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
5858
golang.org/x/net v0.24.0 // indirect
5959
golang.org/x/oauth2 v0.16.0 // indirect

0 commit comments

Comments
 (0)