1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
package proton_api_bridge
var (
LIB_VERSION = "1.0.0"
UPLOAD_BLOCK_SIZE = 4 * 1024 * 1024 // 4 MB
UPLOAD_BATCH_BLOCK_SIZE = 8
/*
https://github.com/rclone/rclone/pull/7093#issuecomment-1637024885
The idea is that rclone performs buffering / pre-fetching on it's own so
we don't need to be doing this on our end.
If you are not using rclone and instead is directly basing your work on this
library, then maybe you can increase this value to let the library does
the buffering work for you!
*/
DOWNLOAD_BATCH_BLOCK_SIZE = 1
)
|