1
0
Fork 0

aria2: Disable async DNS

This commit is contained in:
Daniel Kempkens 2023-07-20 19:45:24 +02:00
parent 64fdfbf1c2
commit 0555800f5b
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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 = ''