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

This commit is contained in:
Nick Craig-Wood 2017-06-26 16:01:31 +01:00
parent f0abd6173d
commit 24cb739d1f
2 changed files with 2 additions and 2 deletions

View file

@ -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.")

View file

@ -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 ####