V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  939224390  ›  全部回复第 1 页 / 共 1 页
回复总数  2
2025 年 7 月 8 日
回复了 939224390 创建的主题 问与答 aria2 在 Flutter 应用中卡住的原因及解决方案?
@jifengg 试了试好像还真是这个原因,🙏
2025 年 7 月 8 日
回复了 939224390 创建的主题 问与答 aria2 在 Flutter 应用中卡住的原因及解决方案?
@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
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1402 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 17:05 · PVG 01:05 · LAX 09:05 · JFK 12:05
♥ Do have faith in what you're doing.