From f264bab65cff3067348cba05347ba32c81a4a1c0 Mon Sep 17 00:00:00 2001 From: Will Miao Date: Fri, 26 Jun 2026 14:24:46 +0800 Subject: [PATCH] fix(aria2): remove --fsync=false to avoid crash on older aria2c versions Exit code 28 (Invalid argument) indicates this user's aria2c does not support the --fsync option. Remove it unconditionally; the stderr drain, relaxed RPC timeouts, and increased retry coverage remain in place. --- py/services/aria2_downloader.py | 1 - 1 file changed, 1 deletion(-) diff --git a/py/services/aria2_downloader.py b/py/services/aria2_downloader.py index 0ab07a19..145d5e2e 100644 --- a/py/services/aria2_downloader.py +++ b/py/services/aria2_downloader.py @@ -510,7 +510,6 @@ class Aria2Downloader: "--continue=true", "--daemon=false", "--quiet=true", - "--fsync=false", f"--stop-with-process={os.getpid()}", ]