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: Fix --s3-chunk-size which was always using the minimum - fixes #2345

Nick Craig-Wood017297af7026
diff --git a/backend/s3/s3.go b/backend/s3/s3.go
index 083b2ec0f..d2cef2e63 100644
--- a/backend/s3/s3.go
+++ b/backend/s3/s3.go
@@ -1356,7 +1356,6 @@ func (o *Object) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOptio
u.LeavePartsOnError = false
u.S3 = o.fs.c
u.PartSize = int64(s3ChunkSize)
- u.PartSize = s3manager.MinUploadPartSize
if size == -1 {
// Make parts as small as possible while still being able to upload to the