change default value of QPS and burst to constant

This commit is contained in:
Hongchao Deng
2016-06-06 15:30:41 -07:00
parent ca17e4745f
commit 55d3597456
16 changed files with 18 additions and 96 deletions

View File

@@ -69,13 +69,6 @@ func NewClient(conf *restclient.Config) (*Client, error) {
conf.UserAgent = restclient.DefaultKubernetesUserAgent()
}
if conf.QPS == 0.0 {
conf.QPS = 5.0
}
if conf.Burst == 0 {
conf.Burst = 10
}
cl, err := restclient.RESTClientFor(conf)
if err != nil {
return nil, err