File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,5 @@ const (
3434 EnableWebhooksEnvVar = "ENABLE_WEBHOOKS"
3535 ControllerSyncPeriodEnvVar = "SYNC_PERIOD"
3636 ConnectUsingPlainHTTPEnvVar = "CONNECT_USING_PLAIN_HTTP"
37+ MaxConcurrentReconciles = "MAX_CONCURRENT_RECONCILES"
3738)
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ func main() {
161161 }
162162
163163 var maxConcurrentReconciles int
164- if maxConcurrentReconcilesEnvValue := getIntEnv ("MAX_CONCURRENT_RECONCILES" ); maxConcurrentReconcilesEnvValue > 0 {
164+ if maxConcurrentReconcilesEnvValue := getIntEnv (controllers . MaxConcurrentReconciles ); maxConcurrentReconcilesEnvValue > 0 {
165165 maxConcurrentReconciles = maxConcurrentReconcilesEnvValue
166166 log .Info (fmt .Sprintf ("maxConcurrentReconciles set to %d" , maxConcurrentReconciles ))
167167 }
You can’t perform that action at this time.
0 commit comments