mirror of https://github.com/k3s-io/k3s
Remove 20x factor in garbage-collector qps
parent
9d6ea5b4a3
commit
302af9bfe4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue