feat(uploader): concurrent chunk uploads

This commit is contained in:
Aaron Liu
2025-08-30 10:36:20 +08:00
parent 9b40e0146f
commit c3ed4f5839
3 changed files with 10 additions and 6 deletions

View File

@@ -101,6 +101,8 @@ type (
SourceAuth bool `json:"source_auth,omitempty"`
// QiniuUploadCdn whether to use CDN for Qiniu upload.
QiniuUploadCdn bool `json:"qiniu_upload_cdn,omitempty"`
// ChunkConcurrency the number of chunks to upload concurrently.
ChunkConcurrency int `json:"chunk_concurrency,omitempty"`
}
FileType int