b2: set cutoff for chunked upload to 200MB #420

This is the value recommended in the b2 integration checklist:

https://www.backblaze.com/b2/docs/integration_checklist.html
This commit is contained in:
Nick Craig-Wood 2016-07-01 10:08:09 +01:00
parent 46f8e50614
commit ea5878f590

View File

@ -45,7 +45,7 @@ const (
var (
minChunkSize = fs.SizeSuffix(100E6)
chunkSize = fs.SizeSuffix(96 * 1024 * 1024)
uploadCutoff = fs.SizeSuffix(5E9)
uploadCutoff = fs.SizeSuffix(200E6)
errorAuthTokenExpired = errors.New("b2 auth token expired")
errorUploadTokenExpired = errors.New("b2 upload token expired")
errorUploadPartTokenExpired = errors.New("b2 upload part token expired")