Increase API rate limit on read only port of apiserver

This commit is contained in:
Satnam Singh
2015-01-30 09:06:47 -08:00
parent 2e9cb5ee3a
commit d8bda4006a
2 changed files with 4 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ func RateLimit(rl util.RateLimiter, handler http.Handler) http.Handler {
// Return a 429 status indicating "Too Many Requests"
w.Header().Set("Retry-After", "1")
w.WriteHeader(errors.StatusTooManyRequests)
fmt.Fprintf(w, "Rate limit is 1 QPS or a burst of 20")
fmt.Fprintf(w, "Rate limit is 10 QPS or a burst of 200")
})
}