mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:23:48 +08:00
269f90c1e4
I discovered that `rclone` always upload in chunks of 16MiB whenever
uploading a file smaller than `--drive-upload-cutoff`. This is
undesirable since the purpose of the flag `--drive-upload-cutoff` is
to *prevent* chunking below a certain file size.
I realized that it wasn't `rclone` forcing the 16MiB chunks. The
`google-api-go-client` forces a chunk size default of
[`googleapi.DefaultUploadChunkSize`](
|
||
---|---|---|
.. | ||
test | ||
drive_internal_test.go | ||
drive_test.go | ||
drive.go | ||
upload.go |