fix(cos/multipart): make chunk size not less than 5M

This commit is contained in:
Minglei Jin 2023-11-14 17:39:47 +08:00
parent cb3fe4d6de
commit 88d2e00123
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ int32_t s3PutObjectFromFile2(const char *file, const char *object) {
// div round up
int seq;
uint64_t chunk_size = MULTIPART_CHUNK_SIZE >> 8;
uint64_t chunk_size = MULTIPART_CHUNK_SIZE >> 7;
int totalSeq = ((contentLength + chunk_size - 1) / chunk_size);
MultipartPartData partData;