AlistGo / AlistGo/alist

[Feature request]升级resty到V3,以解决内存泄漏

オープン
#7,930 コメント 1 件 リアクション 2 件 担当者 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 / 需求描述

v2,resty,setReader做缓存的逻辑是有问题的,即使是分片上传,也会吃大量的内存,在百度网盘等使用setReader上传的,比较明显,上传两个两三百M的文件,内存能吃到900M......

### Suggested solution / 实现思路

更新resty到V3,v3使用io.pipe重新实现了上传文件的逻辑

### Additional context / 附件

_No response_

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

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

評価

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

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

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