Skip to content

Commit

Permalink
Change default minimum reconcile interval to 5 seconds (#672)
Browse files Browse the repository at this point in the history
Signed-off-by: Melissa Lee <[email protected]>
  • Loading branch information
leochr authored Dec 8, 2024
1 parent 747039f commit 9f84d9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func DefaultOpConfig() *sync.Map {
cfg.Store(OpConfigCMCADuration, "8766h")
cfg.Store(OpConfigCMCertDuration, "2160h")
cfg.Store(OpConfigLogLevel, logLevelInfo)
cfg.Store(OpConfigReconcileIntervalSeconds, "15")
cfg.Store(OpConfigReconcileIntervalSeconds, "5")
cfg.Store(OpConfigReconcileIntervalPercentage, "100")
return cfg
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ require (
github.com/openshift/library-go v0.0.0-20231002074440-3f69f773d102
github.com/pkg/errors v0.9.1
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.71.2
go.uber.org/zap v1.26.0
k8s.io/api v0.28.9
k8s.io/apimachinery v0.28.9
k8s.io/client-go v0.28.9
Expand Down Expand Up @@ -53,7 +54,6 @@ require (
github.com/prometheus/procfs v0.12.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.26.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
Expand Down

0 comments on commit 9f84d9a

Please sign in to comment.