From 017297af7026e5aea3f3cbf8a3befa5ed68a20ee Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 10 Jun 2018 12:20:13 +0100 Subject: [PATCH] s3: Fix --s3-chunk-size which was always using the minimum - fixes #2345 --- backend/s3/s3.go | 1 - 1 file changed, 1 deletion(-) 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