aria2: Disable async DNS
This commit is contained in:
parent
64fdfbf1c2
commit
0555800f5b
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
# Download using aria2
|
# Download using aria2
|
||||||
--downloader aria2c
|
--downloader aria2c
|
||||||
--downloader-args "aria2c:--max-download-limit=6M --min-split-size=1M --max-connection-per-server=4 --split=4"
|
--downloader-args "aria2c:--async-dns=false --max-download-limit=6M --min-split-size=1M --max-connection-per-server=4 --split=4"
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
--no-overwrites
|
--no-overwrites
|
||||||
|
|
|
@ -134,7 +134,7 @@ in
|
||||||
|
|
||||||
aria-browser = ''
|
aria-browser = ''
|
||||||
set user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15"
|
set user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15"
|
||||||
aria2c -U "$user_agent" --file-allocation none -x 2 $argv
|
aria2c -U "$user_agent" --file-allocation none --async-dns false -x 2 $argv
|
||||||
'';
|
'';
|
||||||
|
|
||||||
mysqld-direnv-init = ''
|
mysqld-direnv-init = ''
|
||||||
|
|
Loading…
Reference in a new issue