2
0
mirror of synced 2025-02-24 14:48:27 +00:00

Improve comment on Config.UploadRateLimiter

This commit is contained in:
Matt Joiner 2017-11-04 17:07:18 +11:00
parent 426c6fec65
commit dd1bc6b837

View File

@ -32,7 +32,7 @@ type Config struct {
// peer. // peer.
Seed bool `long:"seed"` Seed bool `long:"seed"`
// Events are data bytes sent in pieces. The burst must be large enough to // 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 UploadRateLimiter *rate.Limiter
// The events are bytes read from connections. The burst must be bigger // 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 // than the largest Read performed on a Conn minus one. This is likely to