Browse Source
Merge pull request #103 from agin719/cos-v4-dev
update DividePart to 64M
master
agin719
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
object.go
|
|
@ -626,7 +626,7 @@ func SplitFileIntoChunks(filePath string, partSize int64) (int64, []Chunk, int, |
|
|
|
return 0, nil, 0, errors.New("Too many parts, out of 10000") |
|
|
|
} |
|
|
|
} else { |
|
|
|
partNum, partSize = DividePart(stat.Size(), 1) |
|
|
|
partNum, partSize = DividePart(stat.Size(), 64) |
|
|
|
} |
|
|
|
|
|
|
|
var chunks []Chunk |
|
|
|