AlistGo / AlistGo/alist

Request retry delay

Open
#7,994 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
50.2k
Forks
7.9k
Avg merge
7d 21h
Merged PRs (30d)
6

Description

### Please make sure of the following things

- [x] I have read the [documentation](https://alist.nn.ci).
- [x] I'm sure there are no duplicate issues or discussions.
- [x] I'm sure this feature is not implemented.
- [x] I'm sure it's a reasonable and popular requirement.

### Description of the feature / 需求描述

上传(队列中)比较多大文件(~1.5G)的时候经常能触发onedrive的quota。此时立刻重试不仅没有效果反而会触发更严重的限制。

### Suggested solution / 实现思路

增加重试间隔选项。对于会主动返回建议重试间隔或api有已知间隔的网盘存储可以添加一个选项选择是否直接采纳。

### Additional context / 附件

```{"error":{"code":"activityLimitReached","innerError":{"code":"throttledRequest","innerError":{"code":"quota"}},"message":"The request has been throttled","retryAfterSeconds":55,"@error.X-ClientErrorCode":"quota"}}```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.