Skip to content

Commit

Permalink
add poll interval
Browse files Browse the repository at this point in the history
Signed-off-by: Praveen Ghuge <[email protected]>
  • Loading branch information
praveenghuge committed Jun 30, 2021
1 parent 1903d7c commit 7198f7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/mq/broker/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func SetupBroker(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, p
resource.ManagedKind(svcapitypes.BrokerGroupVersionKind),
managed.WithInitializers(managed.NewDefaultProviderConfig(mgr.GetClient())),
managed.WithExternalConnecter(&connector{kube: mgr.GetClient(), opts: opts}),
managed.WithPollInterval(poll),
managed.WithLogger(l.WithValues("controller", name)),
managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name)))))
}
Expand Down

0 comments on commit 7198f7d

Please sign in to comment.