no limit the upload parallels threads #343

This commit is contained in:
xiaoyaofenfen 2023-10-08 16:55:20 +08:00
parent 19afa16bfe
commit 048a6a5438

View File

@ -294,7 +294,7 @@ func RunUpload(localPaths []string, savePath string, opt *UploadOptions) {
}
}
if opt.AllParallel > config.MaxFileUploadParallelNum {
opt.AllParallel = config.MaxFileUploadParallelNum
fmt.Printf("警告: 当前上传文件并发数过大,可能会被阿里风控导致上传失败,建议调小。\n")
}
if opt.Parallel <= 0 {