Skip to content

Commit

Permalink
increase rest client QPS and Burst settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezl committed Jan 21, 2020
1 parent 6cb966c commit ae4e310
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/migrator/app/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ func Run(stopCh <-chan struct{}) error {
}
}
config.UserAgent = migratorUserAgent + "/" + version.VERSION
config.QPS = 40.0
config.Burst = 1000
dynamic, err := dynamic.NewForConfig(config)
if err != nil {
return err
Expand Down

0 comments on commit ae4e310

Please sign in to comment.