Skip to content

Supports large file upload#49

Merged
chenqimiao merged 2 commits intomainfrom
feature-big-file-upload
Mar 7, 2026
Merged

Supports large file upload#49
chenqimiao merged 2 commits intomainfrom
feature-big-file-upload

Conversation

@chenqimiao
Copy link
Copy Markdown
Owner

No description provided.

@chenqimiao chenqimiao linked an issue Mar 5, 2026 that may be closed by this pull request
@chenqimiao
Copy link
Copy Markdown
Owner Author

大文件上传超时(upload-wait-timeout)

当通过 WebDAV 客户端(如群晖 CloudSync / Hyper Backup)上传大文件时,由于文件需要先接收到本地再转存到夸克网盘,客户端可能因等待响应时间过长而超时断开。

--upload-wait-timeout 参数用于设置服务端等待上传完成的最大秒数。如果在此时间内上传未完成,服务端会先返回成功响应给客户端(避免客户端超时),同时在后台继续完成上传到夸克网盘的操作。

  • 命令行:--upload-wait-timeout 280
  • 环境变量:UPLOAD_WAIT_TIMEOUT=280
  • 默认值:280(秒)
  • 设为 0 表示无限等待(不提前返回)

@chenqimiao chenqimiao merged commit 7bdbf00 into main Mar 7, 2026
2 checks passed
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.

CloudSync大文件上传出错

1 participant