diff --git a/cmd/downloader/downloader/downloadercfg/downloadercfg.go b/cmd/downloader/downloader/downloadercfg/downloadercfg.go index e0ba48e4d..46683df0a 100644 --- a/cmd/downloader/downloader/downloadercfg/downloadercfg.go +++ b/cmd/downloader/downloader/downloadercfg/downloadercfg.go @@ -103,7 +103,6 @@ func New(snapDir string, verbosity lg.Level, dbg bool, natif nat.Interface, down } } // rates are divided by 2 - I don't know why it works, maybe bug inside torrent lib accounting - log.Warn("alex", "a", rate.Limit(uploadRate.Bytes()), "b", 2*DefaultNetworkChunkSize) torrentConfig.UploadRateLimiter = rate.NewLimiter(rate.Limit(uploadRate.Bytes()), 2*DefaultNetworkChunkSize) // default: unlimited if downloadRate.Bytes() < 500_000_000 { b := int(2 * DefaultNetworkChunkSize)