Skip to content

Commit

Permalink
fix: Set QPS and burst rate for resource ops client
Browse files Browse the repository at this point in the history
Signed-off-by: jannfis <jann@mistrust.net>
  • Loading branch information
jannfis committed Mar 28, 2022
1 parent c59b8ea commit d1f215b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/application/v1alpha1/types.go
Expand Up @@ -2442,6 +2442,8 @@ func (c *Cluster) RawRestConfig() *rest.Config {
panic(fmt.Sprintf("Unable to create K8s REST config: %v", err))
}
config.Timeout = K8sServerSideTimeout
config.QPS = K8sClientConfigQPS
config.Burst = K8sClientConfigBurst
return config
}

Expand Down

0 comments on commit d1f215b

Please sign in to comment.