mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 02:34:21 +08:00
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
2
b2/b2.go
2
b2/b2.go
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user