mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-06-07 15:35:59 +08:00
adjust: increase timeout limit to adjust worse network environment
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
fcba7d93c9
commit
94c0ca9f6d
@ -120,7 +120,7 @@ void DownloadController::startDownload(const QString &url)
|
||||
QString downloadDir = "/tmp/spark-store/"; //下载目录
|
||||
QString aria2ConnectionPerServer = "--max-connection-per-server=1"; //每个服务器最大连接数
|
||||
QString aria2ConnectionMax = "--max-concurrent-downloads=16"; //最大同时下载数
|
||||
QString aria2ConnectionTimeout = "--connect-timeout=5"; // 5 秒服务器连接超时
|
||||
QString aria2ConnectionTimeout = "--connect-timeout=30"; // 30 秒服务器连接超时
|
||||
QString aria2MaxRetry = "--max-tries=1"; //设置最大重试次数
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user