mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-25 14:41:53 +00:00
Merge pull request #127710 from alvaroaleman/document
RestCfg: Add godocs on how to disable ratelimiting Kubernetes-commit: b2031b3cb46e946ee72eab7bda87b046db138d62
This commit is contained in:
commit
0dfea60d7a
@ -113,6 +113,9 @@ type Config struct {
|
||||
|
||||
// QPS indicates the maximum QPS to the master from this client.
|
||||
// If it's zero, the created RESTClient will use DefaultQPS: 5
|
||||
//
|
||||
// Setting this to a negative value will disable client-side ratelimiting
|
||||
// unless `Ratelimiter` is also set.
|
||||
QPS float32
|
||||
|
||||
// Maximum burst for throttle.
|
||||
|
Loading…
Reference in New Issue
Block a user