File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,5 @@ const (
34
34
EnableWebhooksEnvVar = "ENABLE_WEBHOOKS"
35
35
ControllerSyncPeriodEnvVar = "SYNC_PERIOD"
36
36
ConnectUsingPlainHTTPEnvVar = "CONNECT_USING_PLAIN_HTTP"
37
+ MaxConcurrentReconciles = "MAX_CONCURRENT_RECONCILES"
37
38
)
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ func main() {
161
161
}
162
162
163
163
var maxConcurrentReconciles int
164
- if maxConcurrentReconcilesEnvValue := getIntEnv ("MAX_CONCURRENT_RECONCILES" ); maxConcurrentReconcilesEnvValue > 0 {
164
+ if maxConcurrentReconcilesEnvValue := getIntEnv (controllers . MaxConcurrentReconciles ); maxConcurrentReconcilesEnvValue > 0 {
165
165
maxConcurrentReconciles = maxConcurrentReconcilesEnvValue
166
166
log .Info (fmt .Sprintf ("maxConcurrentReconciles set to %d" , maxConcurrentReconciles ))
167
167
}
You can’t perform that action at this time.
0 commit comments