Skip to content

Commit

Permalink
Merge pull request #112 from fhopfensperger/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 aca6159 + 53c12a4 commit 7e84c63
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 7e84c63

Please sign in to comment.