Skip to content

Commit 855f940

Browse files
committed
Set resync to 6h
Signed-off-by: Todd Short <[email protected]>
1 parent 01a99e7 commit 855f940

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/catalog/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727

2828
const (
2929
catalogNamespaceEnvVarName = "GLOBAL_CATALOG_NAMESPACE"
30-
defaultWakeupInterval = 15 * time.Minute
30+
defaultWakeupInterval = 6 * time.Hour
3131
defaultCatalogNamespace = "olm"
3232
defaultConfigMapServerImage = "quay.io/operator-framework/configmap-operator-registry:latest"
3333
defaultOPMImage = "quay.io/operator-framework/opm:latest"

cmd/olm/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
)
3434

3535
const (
36-
defaultWakeupInterval = 5 * time.Minute
36+
defaultWakeupInterval = 6 * time.Hour
3737
defaultOperatorName = ""
3838
defaultPackageServerStatusName = ""
3939
)

pkg/controller/operators/olm/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func (o *operatorConfig) validate() (err error) {
101101

102102
func defaultOperatorConfig() *operatorConfig {
103103
return &operatorConfig{
104-
resyncPeriod: queueinformer.ResyncWithJitter(30*time.Second, 0.2),
104+
resyncPeriod: queueinformer.ResyncWithJitter(6*time.Hour, 0.2),
105105
operatorNamespace: "default",
106106
watchedNamespaces: []string{metav1.NamespaceAll},
107107
clock: utilclock.RealClock{},

0 commit comments

Comments
 (0)