Commit b52c6f67 authored by Alex Robinson's avatar Alex Robinson

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.
parent e067b31b
......@@ -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
)
......
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