@
jifengg 我在 Windows11 开发的,aria2 也是运行在本地
卡住的时候 我看 aria2 日志也不会更新了,aria2 Explorer 也无法链接进去,下载任务也卡住了,等我关掉程序之后,aria2 Explorer 链接恢复,下载任务继续。
aria2Process = await Process.start(aria2Path, [
'--dir=${config.savePath}',
'--max-concurrent-downloads=${config.maxDown}',
'--max-connection-per-server=${config.threadCount}',
'--conf-path=$aria2ConfPath',
'--rpc-listen-port=16800',
'--save-session-interval=60',
'--continue=true',
'--log=$aria2LogPath',
'--log-level=debug',
]);
enable-rpc=true
rpc-allow-origin-all=true
rpc-listen-all=true
file-allocation=none
enable-direct-io=true
rpc-max-request-size=10M
rpc-save-upload-metadata=true
min-split-size=1M
disk-cache=16M
file-allocation=trunc