Skip to content

Commit

Permalink
fix: Set QPS and burst rate for resource ops client (#8915)
Browse files Browse the repository at this point in the history
* fix: Set QPS and burst rate for resource ops client

Signed-off-by: jannfis <jann@mistrust.net>
  • Loading branch information
jannfis committed Mar 29, 2022
1 parent ecc2af9 commit 7f9ff6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/application/v1alpha1/types.go
Expand Up @@ -2477,6 +2477,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 7f9ff6e

Please sign in to comment.