cmd/torrent/download.go | 3 ++- diff --git a/cmd/torrent/download.go b/cmd/torrent/download.go index a8b5bac4686977815d803eed2f9155d23d6f7e19..e3ad5476f9649ba5e134dd67246195cbbc57a4db 100644 --- a/cmd/torrent/download.go +++ b/cmd/torrent/download.go @@ -234,10 +234,11 @@ if flags.Addr != "" { clientConfig.SetListenAddr(flags.Addr) } if flags.UploadRate != nil { + // TODO: I think the upload rate limit could be much lower. clientConfig.UploadRateLimiter = rate.NewLimiter(rate.Limit(*flags.UploadRate), 256<<10) } if flags.DownloadRate != nil { - clientConfig.DownloadRateLimiter = rate.NewLimiter(rate.Limit(*flags.DownloadRate), 1<<20) + clientConfig.DownloadRateLimiter = rate.NewLimiter(rate.Limit(*flags.DownloadRate), 1<<16) } if flags.Quiet { clientConfig.Logger = log.Discard