From: Matt Joiner Date: Mon, 10 Oct 2016 04:03:02 +0000 (+1100) Subject: Fix Config.UploadRateLimiter comment X-Git-Tag: v1.0.0~560 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=099fb9546e435a92c315c6de56d27ff0597c8299;p=btrtrc.git Fix Config.UploadRateLimiter comment --- diff --git a/config.go b/config.go index 2f87c180..5e82ff67 100644 --- a/config.go +++ b/config.go @@ -31,9 +31,9 @@ type Config struct { // not altruistic, we'll upload slightly more than we download from each // peer. Seed bool `long:"seed"` - // If non-zero, is the maximum bytes per second of data pieces we'll - // upload to peers. - UploadRateLimiter *rate.Limiter + // Events are data bytes sent in pieces. The burst must be large enough to + // fit a whole chunk. + UploadRateLimiter *rate.Limiter // User-provided Client peer ID. If not present, one is generated automatically. PeerID string