cmd/torrent: Disable accept rate limiting

This commit is contained in:
Matt Joiner 2020-01-04 17:16:48 +11:00
parent 3a733e530c
commit bd4176f5ea
1 changed files with 1 additions and 0 deletions

View File

@ -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