From 24cb739d1f75091ed8826147fa46a327246d506f Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 26 Jun 2017 16:01:31 +0100 Subject: [PATCH] b2: reduce minimum chunk size to 5MB - fixes #1289 --- b2/b2.go | 2 +- docs/content/b2.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ####