Skip to content

Commit

Permalink
Merge pull request #103 from agin719/cos-v4-dev
Browse files Browse the repository at this point in the history
update DividePart to 64M
  • Loading branch information
agin719 authored Feb 7, 2021
2 parents 0d0d651 + 1793d48 commit 6df1acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6df1acc

Please sign in to comment.