Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

b2: reduce minimum chunk size to 5MB - fixes #1289

Nick Craig-Wood24cb739d1f75
diff --git a/b2/b2.go b/b2/b2.go
index 739b807ed..7a880770e 100644
--- a/b2/b2.go
+++ b/b2/b2.go
@@ -46,7 +46,7 @@ const (
// Globals
var (
- minChunkSize = fs.SizeSuffix(100E6)
+ minChunkSize = fs.SizeSuffix(5E6)
chunkSize = fs.SizeSuffix(96 * 1024 * 1024)
uploadCutoff = fs.SizeSuffix(200E6)
b2TestMode = fs.StringP("b2-test-mode", "", "", "A flag string for X-Bz-Test-Mode header.")
diff --git a/docs/content/b2.md b/docs/content/b2.md
index 146a7456d..ea1383b29 100644
--- a/docs/content/b2.md
+++ b/docs/content/b2.md
@@ -248,7 +248,7 @@ system.
When uploading large files chunk the file into this size. Note that
these chunks are buffered in memory and there might a maximum of
-`--transfers` chunks in progress at once. 100,000,000 Bytes is the
+`--transfers` chunks in progress at once. 5,000,000 Bytes is the
minimim size (default 96M).
#### --b2-upload-cutoff=SIZE ####