Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

s3: read 1000 items in listings #1653

Nick Craig-Wood2944f7603d99
diff --git a/s3/s3.go b/s3/s3.go
index 0fcefb04a..0ea6fe4c3 100644
--- a/s3/s3.go
+++ b/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
)