Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #289 from fhopfensperger/fix/poll_interval
Browse files Browse the repository at this point in the history
Add PollInterval to controller setup functions
  • Loading branch information
muvaf authored Oct 17, 2022
2 parents 86b7443 + dac34f9 commit 8d0ed48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/pipeline/templates/controller.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error {
managed.WithTimeout(3*time.Minute),
managed.WithInitializers(initializers),
managed.WithConnectionPublishers(cps...),
managed.WithPollInterval(o.PollInterval),
)

return ctrl.NewControllerManagedBy(mgr).
Expand Down

0 comments on commit 8d0ed48

Please sign in to comment.