Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: 增加多线程分片上传和断续上传 #94

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

arrebole
Copy link
Contributor

No description provided.

Reader: bytes.NewReader(body),
PartSize: int64(len(body)),
})
if err != nil && err.(*upyun.Error).Code == 40011061 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在 sdk 加个 IsDuplicatePart 的函数,这样比直接出现错误码有意义一些

cache/upload.go Outdated Show resolved Hide resolved
cache/upload.go Outdated Show resolved Hide resolved
cache/upload.go Outdated Show resolved Hide resolved
arrebole added 2 commits July 26, 2023 14:14
- 超时时间默认24小时
- 加速分片记录的删除
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants