Skip to content

Commit

Permalink
Merge pull request #219 from kyriba/set-reconciliation-timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterMX authored Dec 3, 2024
2 parents a224394 + 2851c85 commit 039b2cf
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 039b2cf

Please sign in to comment.