Commit b465f7a8 authored by Rohit Jnagal's avatar Rohit Jnagal

Merge pull request #11024 from a-robinson/throttle

Increase the rate limiting of GCE's token source
parents e3b8ad94 b52c6f67
...@@ -31,7 +31,7 @@ import ( ...@@ -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
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment