From bd4176f5ea6a68ba07d72fe1584589bb4cd90cce Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sat, 4 Jan 2020 17:16:48 +1100 Subject: [PATCH] cmd/torrent: Disable accept rate limiting --- cmd/torrent/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/torrent/main.go b/cmd/torrent/main.go index d1be30c8..e21c3d2b 100644 --- a/cmd/torrent/main.go +++ b/cmd/torrent/main.go @@ -187,6 +187,7 @@ func mainErr() error { log.Default = log.Logger{log.StreamLogger{W: progress.Bypass(), Fmt: log.LineFormatter}} } clientConfig := torrent.NewDefaultClientConfig() + clientConfig.DisableAcceptRateLimiting = true clientConfig.NoDHT = !flags.Dht clientConfig.Debug = flags.Debug clientConfig.Seed = flags.Seed