]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Improve comment on Config.UploadRateLimiter
authorMatt Joiner <anacrolix@gmail.com>
Sat, 4 Nov 2017 06:07:18 +0000 (17:07 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Sat, 4 Nov 2017 06:07:18 +0000 (17:07 +1100)
config.go

index ea947de1e7e2e2caf414985ebdbeed03cb7ac833..008a0ad0508a06680b9f104811bad2fbc9e39b4f 100644 (file)
--- 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