release: bump version to 5.1.1 and fix dns download issue

add --async-dns=false aria2 parameter to all download jobs to fix potential dns resolution failures during package download
This commit is contained in:
2026-05-16 02:35:29 +08:00
parent e16acbd0a5
commit f62665cd73
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -390,6 +390,7 @@ async function processNextInQueue() {
const aria2Args = [
`--dir=${downloadDir}`,
"--allow-overwrite=true",
"--async-dns=false",
"--summary-interval=1",
"--connect-timeout=10",
"--timeout=15",
@@ -89,6 +89,7 @@ export const downloadPackage = async ({
const aria2Args = [
`--dir=${downloadDir}`,
"--allow-overwrite=true",
"--async-dns=false",
"--summary-interval=1",
"--connect-timeout=10",
"--timeout=15",