Skip to content

Commit 5a1d4bc

Browse files
committed
feat: 修改分块上传每块数据大小,适配S3分块存储
1 parent abf76c0 commit 5a1d4bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chunkupload/uploader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type Params struct {
2424
SubtaskId string
2525
}
2626

27-
const _ChunkSize = 4 * 1024 * 1024
27+
const _ChunkSize = 10 * 1024 * 1024
2828

2929
func fileStreamer(ctx context.Context, path string, writer io.Writer) (e error) {
3030
var (

0 commit comments

Comments
 (0)