Browse Source

Merge pull request #103 from agin719/cos-v4-dev

update DividePart to 64M
master
agin719 4 years ago
committed by GitHub
parent
commit
6df1acc36d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      object.go

2
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

Loading…
Cancel
Save