AlistGo / AlistGo/alist

Request retry delay

Aperta
#7,994 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Go
Stelle
50.2k
Fork
7.9k
Merge medio
7g 21h
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.