mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #11024 from a-robinson/throttle
Increase the rate limiting of GCE's token source
This commit is contained in:
commit
b465f7a860
@ -31,7 +31,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// Max QPS to allow through to the token URL.
|
// Max QPS to allow through to the token URL.
|
||||||
tokenURLQPS = 1
|
tokenURLQPS = .05 // back off to once every 20 seconds when failing
|
||||||
// Maximum burst of requests to token URL before limiting.
|
// Maximum burst of requests to token URL before limiting.
|
||||||
tokenURLBurst = 3
|
tokenURLBurst = 3
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user