AlistGo / AlistGo/alist

Request retry delay

オープン
#7,994 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Go
スター
50.2k
フォーク
7.9k
平均マージ
7日 21時間
マージ済み PR(30日)
6

説明

### 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"}}```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。