Skip to content

Commit

Permalink
Set reconciliation timeout 5 min for application controller
Browse files Browse the repository at this point in the history
Signed-off-by: vbuko <[email protected]>
(cherry picked from commit 2851c85)
  • Loading branch information
vbuko authored and github-actions[bot] committed Dec 3, 2024
1 parent cf7c689 commit be7fab0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controller/applications/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package applications

import (
"context"
"time"

"github.com/argoproj/argo-cd/v2/pkg/apiclient"
"github.com/argoproj/argo-cd/v2/pkg/apiclient/application"
Expand Down Expand Up @@ -64,6 +65,7 @@ func SetupApplication(mgr ctrl.Manager, o xpcontroller.Options) error {
managed.WithLogger(o.Logger.WithValues("controller", name)),
managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))),
managed.WithConnectionPublishers(cps...),
managed.WithTimeout(5 * time.Minute),
}

if o.Features.Enabled(features.EnableBetaManagementPolicies) {
Expand Down

0 comments on commit be7fab0

Please sign in to comment.