Merge pull request #11024 from a-robinson/throttle

Increase the rate limiting of GCE's token source
This commit is contained in:
Rohit Jnagal
2015-07-10 12:22:34 -07:00

View File

@@ -31,7 +31,7 @@ import (
const (
// 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.
tokenURLBurst = 3
)