From: Matt Joiner Date: Sat, 4 Nov 2017 06:07:18 +0000 (+1100) Subject: Improve comment on Config.UploadRateLimiter X-Git-Tag: v1.0.0~357 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=dd1bc6b837347dfd46a36e7662b6ab339794fccd;p=btrtrc.git Improve comment on Config.UploadRateLimiter --- diff --git a/config.go b/config.go index ea947de1..008a0ad0 100644 --- a/config.go +++ b/config.go @@ -32,7 +32,7 @@ type Config struct { // peer. Seed bool `long:"seed"` // Events are data bytes sent in pieces. The burst must be large enough to - // fit a whole chunk. + // fit a whole chunk, which is usually 16 KiB. UploadRateLimiter *rate.Limiter // The events are bytes read from connections. The burst must be bigger // than the largest Read performed on a Conn minus one. This is likely to