mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01: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 |