Increase aria2 concurrency to speed up download

This commit is contained in:
nsubiron 2019-03-19 15:27:04 +01:00
parent 7b10b2e137
commit eff21e2aae
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ function download_content {
mkdir -p Content
if hash aria2c 2>/dev/null; then
echo -e "${CONTENT_LINK}\n\tout=Content.tar.gz" > .aria2c.input
aria2c -j12 -x12 --input-file=.aria2c.input
aria2c -j16 -x16 --input-file=.aria2c.input
rm -f .aria2c.input
else
wget ${CONTENT_LINK} Content.tar.gz