From ca17e4745f4421f07c291946f143401f6fa5b19b Mon Sep 17 00:00:00 2001 From: Hongchao Deng Date: Thu, 2 Jun 2016 17:30:43 -0700 Subject: [PATCH] docs: client default config of qps and burst --- pkg/client/restclient/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/client/restclient/config.go b/pkg/client/restclient/config.go index 0741e3c2d8f..2e4f9d41ee8 100644 --- a/pkg/client/restclient/config.go +++ b/pkg/client/restclient/config.go @@ -93,10 +93,10 @@ type Config struct { // on top of the returned RoundTripper. WrapTransport func(rt http.RoundTripper) http.RoundTripper - // QPS indicates the maximum QPS to the master from this client. If zero, QPS is unlimited. + // QPS indicates the maximum QPS to the master from this client. If zero, default is 5. QPS float32 - // Maximum burst for throttle + // Maximum burst for throttle. If zero, default is 10. Burst int // Rate limiter for limiting connections to the master from this client. If present overwrites QPS/Burst