From 961747b74cd0dc7117b28fd60db6a805ebf6f317 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Tue, 28 Feb 2023 16:23:34 +0000 Subject: [PATCH] Set the default aria2c --file-allocation to prealloc Falloc is faster, but supports less systems/environments, and usually require admin perms on Windows. --- devine/core/downloaders/aria2c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devine/core/downloaders/aria2c.py b/devine/core/downloaders/aria2c.py index d0886e3..47b8e1a 100644 --- a/devine/core/downloaders/aria2c.py +++ b/devine/core/downloaders/aria2c.py @@ -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,