Skip to content

Commit 63e95e2

Browse files
authored
feat(download): 针对同一URL启用多个下载连接, 使得下载速度显著提升
1 parent 3b6bf3e commit 63e95e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/module/download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Thanks ${MirrorProject}
198198
if [[ ${OUTPUT} != /* ]]; then
199199
OUTPUT=${PWD}/${OUTPUT};
200200
fi
201-
aria2c -c -s 9 -k 3M --dir ${OUTPUT%/*} -o ${OUTPUT##*/} ${DownloadURL}
201+
aria2c -c -s 9 -x 9 -k 3M --dir ${OUTPUT%/*} -o ${OUTPUT##*/} ${DownloadURL}
202202

203203
Thanks ${MirrorProject}
204204

0 commit comments

Comments
 (0)