mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
Increase the rate limiting of GCE's token source. The burst being at 3
means transient errors won't incur such long waits, but repeating failures shouldn't be retrying every second.
This commit is contained in:
parent
e067b31b8a
commit
b52c6f673e
@ -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