mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-02-02 21:27:15 +08:00
fix too many request error for tree cmd
This commit is contained in:
parent
fa144a45a1
commit
8d2c40f1ce
@ -146,7 +146,7 @@ func getTree(driveId, pathStr string, depth int, statistic *treeStatistic, setti
|
|||||||
fileListParam.OrderBy = aliyunpan.FileOrderByName
|
fileListParam.OrderBy = aliyunpan.FileOrderByName
|
||||||
fileListParam.OrderDirection = aliyunpan.FileOrderDirectionAsc
|
fileListParam.OrderDirection = aliyunpan.FileOrderDirectionAsc
|
||||||
if targetPathInfo.IsFolder() {
|
if targetPathInfo.IsFolder() {
|
||||||
fileResult, err := activeUser.PanClient().FileListGetAll(fileListParam, 100)
|
fileResult, err := activeUser.PanClient().FileListGetAll(fileListParam, 500)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user