forked from TrueCloudLab/rclone
dropbox: speed up directory listings by specifying 1000 items in a chunk
This commit is contained in:
parent
caa2b8bf40
commit
0c03aa3a8b
1 changed files with 1 additions and 0 deletions
|
@ -852,6 +852,7 @@ func (f *Fs) List(ctx context.Context, dir string) (entries fs.DirEntries, err e
|
|||
arg := files.ListFolderArg{
|
||||
Path: f.opt.Enc.FromStandardPath(root),
|
||||
Recursive: false,
|
||||
Limit: 1000,
|
||||
}
|
||||
if root == "/" {
|
||||
arg.Path = "" // Specify root folder as empty string
|
||||
|
|
Loading…
Reference in a new issue