alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
39.38k stars 5.11k forks source link

为机械硬盘用户增加“单个文件逐渐扫描”的上传选项 #6578

Open Mingnithub opened 3 weeks ago

Mingnithub commented 3 weeks ago

Please make sure of the following things

Description of the feature / 需求描述

机械硬盘在同时读取和写入多个文件时速度会变慢,用户有多个大文件上传需求时,如果后台默认开启多个文件同时读取扫描,其实会降低扫描速度,无法跑满硬盘的速度,导致耗时过长

Suggested solution / 实现思路

设置中虽有线程设置,但其实很多实际情况下,用户是一边用alist挂载云盘串流,一边在后台上传,如果调低线程的话,会导致云盘观影体验不佳,建议将上传的文件读取策略,单独出来作为一个选项,针对全局挂载的云盘,实行大文件上传时一个一个读取上传

Additional context / 附件

No response

welcome[bot] commented 3 weeks ago

Thanks for opening your first issue here! Be sure to follow the issue template!

Mingnithub commented 3 weeks ago

同时也建议增加在系统或应用重启后,后台任务不清除,保留或暂停的功能