docs: client default config of qps and burst

This commit is contained in:
Hongchao Deng 2016-06-02 17:30:43 -07:00
parent 641e359b1c
commit ca17e4745f

View File

@ -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