Skip to content

Commit

Permalink
Remove unnecessary call to DefaultRateLimiter
Browse files Browse the repository at this point in the history
Signed-off-by: Arvind Iyengar <[email protected]>
  • Loading branch information
Arvind Iyengar committed Aug 12, 2022
1 parent 43b93e9 commit db20eff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/controllers/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ func Register(ctx context.Context, systemNamespace string, cfg clientcmd.ClientC

func controllerFactory(rest *rest.Config) (controller.SharedControllerFactory, error) {
rateLimit := workqueue.NewItemExponentialFailureRateLimiter(5*time.Millisecond, 60*time.Second)
workqueue.DefaultControllerRateLimiter()
clientFactory, err := client.NewSharedClientFactory(rest, nil)
if err != nil {
return nil, err
Expand Down

0 comments on commit db20eff

Please sign in to comment.