fix too many request error for tree cmd

This commit is contained in:
tickstep 2023-04-02 08:53:59 +08:00
parent fa144a45a1
commit 8d2c40f1ce

View File

@ -146,7 +146,7 @@ func getTree(driveId, pathStr string, depth int, statistic *treeStatistic, setti
fileListParam.OrderBy = aliyunpan.FileOrderByName
fileListParam.OrderDirection = aliyunpan.FileOrderDirectionAsc
if targetPathInfo.IsFolder() {
fileResult, err := activeUser.PanClient().FileListGetAll(fileListParam, 100)
fileResult, err := activeUser.PanClient().FileListGetAll(fileListParam, 500)
if err != nil {
fmt.Println(err)
return