Skip to content

Commit

Permalink
提高 aria2 在出现 502 错误时的稳定性
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Sep 15, 2024
1 parent 4f18b1c commit e34e12f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/api.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if exist "%SystemDrive%\Windows\SysWOW64\wscript.exe" (
set "PROCESSOR_ARCHITECTURE=AMD64"
move /y "%~dp0apifiles\PECMD64.EXE" "%~dp0apifiles\PECMD.EXE"
)
set aria="%~dp0aria2c.exe" --check-certificate=false --save-not-found=false --always-resume=false --auto-save-interval=10 --auto-file-renaming=false --allow-overwrite=true -c
set aria="%~dp0aria2c.exe" -c -R --retry-wait=5 --check-certificate=false --save-not-found=false --always-resume=false --auto-save-interval=10 --auto-file-renaming=false --allow-overwrite=true
set dmi="%~dp0apifiles\DMI.exe"
set netuser="%~dp0apifiles\NetUser.exe"
set nircmd="%~dp0apifiles\nircmd.exe"
Expand Down
2 changes: 1 addition & 1 deletion osc/osc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if exist "%systemdrive%\Windows\SysWOW64\wscript.exe" (
move /y "%~dp0apifiles\PECMD64.exe" "%~dp0apifiles\PECMD.exe"
move /y "%~dp0apifiles\DrvIndex64.exe" "%~dp0apifiles\DrvIndex.exe"
)
set aria="%~dp0aria2c.exe" --check-certificate=false --save-not-found=false --always-resume=false --auto-save-interval=10 --auto-file-renaming=false --allow-overwrite=true -c
set aria="%~dp0aria2c.exe" -c -R --retry-wait=5 --check-certificate=false --save-not-found=false --always-resume=false --auto-save-interval=10 --auto-file-renaming=false --allow-overwrite=true
set dmi="%~dp0apifiles\DMI.exe"
set netuser="%~dp0apifiles\NetUser.exe"
set nircmd="%~dp0apifiles\nircmd.exe"
Expand Down

0 comments on commit e34e12f

Please sign in to comment.