mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-02-02 21:27:15 +08:00
no limit the upload parallels threads #343
This commit is contained in:
parent
19afa16bfe
commit
048a6a5438
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user