diff --git a/lib/fastparamfetch/paramfetch.go b/lib/fastparamfetch/paramfetch.go index 46e7290a3..e63064557 100644 --- a/lib/fastparamfetch/paramfetch.go +++ b/lib/fastparamfetch/paramfetch.go @@ -307,7 +307,7 @@ func fetchWithAria2c(ctx context.Context, out, url string) error { return xerrors.New("aria2c not found in PATH") } - cmd := exec.CommandContext(ctx, aria2cPath, "--continue", "-x16", "-s16", "--dir", filepath.Dir(out), "-o", filepath.Base(out), url) + cmd := exec.CommandContext(ctx, aria2cPath, "--lowest-speed-limit", "16K", "-m100", "--retry-wait", "10", "--continue", "-x16", "-s16", "--dir", filepath.Dir(out), "-o", filepath.Base(out), url) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr