Remove 20x factor in garbage-collector qps

pull/8/head
Shyam Jeedigunta 2018-05-10 12:21:57 +02:00
parent 9d6ea5b4a3
commit 302af9bfe4
1 changed files with 0 additions and 3 deletions

View File

@ -350,9 +350,6 @@ func startGarbageCollectorController(ctx ControllerContext) (bool, error) {
discoveryClient := cacheddiscovery.NewMemCacheClient(gcClientset.Discovery())
config := ctx.ClientBuilder.ConfigOrDie("generic-garbage-collector")
// bump QPS limits on our dynamic client that we use to GC every deleted object
config.QPS *= 20
config.Burst *= 20
dynamicClient, err := dynamic.NewForConfig(config)
if err != nil {
return true, err