2
0
mirror of synced 2025-02-23 22:28:11 +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.
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