Set the default aria2c --file-allocation to prealloc

Falloc is faster, but supports less systems/environments, and usually require admin perms on Windows.
This commit is contained in:
rlaphoenix 2023-02-28 16:23:34 +00:00
parent ce53a1b636
commit 961747b74c
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def aria2c(
"--max-tries", "5",
"--max-file-not-found", "5",
"--summary-interval", "0",
"--file-allocation", config.aria2c.get("file_allocation", "falloc"),
"--file-allocation", config.aria2c.get("file_allocation", "prealloc"),
"--console-log-level", "warn",
"--download-result", ["hide", "default"][bool(progress)],
*args,