mirror of
https://github.com/rclone/rclone
synced 2024-11-12 10:50:08 +01:00
s3: read 1000 items in listings #1653
This fixes directory listings with wasabi which fail if you supply more than the allowed 1000 items as a parameter. rclone used to supply 1024 items which exceeds the spec - this works fine with s3/ceph/etc but fails with wasabi.
This commit is contained in:
parent
58f7b4ed7c
commit
2944f7603d
2
s3/s3.go
2
s3/s3.go
@ -220,7 +220,7 @@ func init() {
|
||||
// Constants
|
||||
const (
|
||||
metaMtime = "Mtime" // the meta key to store mtime in - eg X-Amz-Meta-Mtime
|
||||
listChunkSize = 1024 // number of items to read at once
|
||||
listChunkSize = 1000 // number of items to read at once
|
||||
maxRetries = 10 // number of retries to make of operations
|
||||
maxSizeForCopy = 5 * 1024 * 1024 * 1024 // The maximum size of object we can COPY
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user