mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 23:22:08 +01:00
dropbox: speed up directory listings by specifying 1000 items in a chunk
This commit is contained in:
parent
caa2b8bf40
commit
0c03aa3a8b
@ -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 New Issue
Block a user