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

@@ -104,11 +104,5 @@ func setBatchDefaults(config *restclient.Config, gv *unversioned.GroupVersion) e
config.Codec = api.Codecs.LegacyCodec(*config.GroupVersion)
config.NegotiatedSerializer = api.Codecs
if config.QPS == 0 {
config.QPS = 5
}
if config.Burst == 0 {
config.Burst = 10
}
return nil
}