mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
s3: Fix --s3-chunk-size which was always using the minimum - fixes #2345
This commit is contained in:
parent
4e8e5fed7d
commit
017297af70
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user