forked from TrueCloudLab/rclone
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:
parent
46f8e50614
commit
ea5878f590
1 changed files with 1 additions and 1 deletions
2
b2/b2.go
2
b2/b2.go
|
@ -45,7 +45,7 @@ const (
|
||||||
var (
|
var (
|
||||||
minChunkSize = fs.SizeSuffix(100E6)
|
minChunkSize = fs.SizeSuffix(100E6)
|
||||||
chunkSize = fs.SizeSuffix(96 * 1024 * 1024)
|
chunkSize = fs.SizeSuffix(96 * 1024 * 1024)
|
||||||
uploadCutoff = fs.SizeSuffix(5E9)
|
uploadCutoff = fs.SizeSuffix(200E6)
|
||||||
errorAuthTokenExpired = errors.New("b2 auth token expired")
|
errorAuthTokenExpired = errors.New("b2 auth token expired")
|
||||||
errorUploadTokenExpired = errors.New("b2 upload token expired")
|
errorUploadTokenExpired = errors.New("b2 upload token expired")
|
||||||
errorUploadPartTokenExpired = errors.New("b2 upload part token expired")
|
errorUploadPartTokenExpired = errors.New("b2 upload part token expired")
|
||||||
|
|
Loading…
Reference in a new issue