Skip to content

Commit d51e2da

Browse files
Test Userclaude
andcommitted
fix(download-server): harden qBittorrent privacy and reliability
- Enable AnonymousMode to hide client fingerprint from peers/trackers. Was disabled due to suspected stall issues, but the root cause was VPN port forwarding, not anonymity mode. - Change MaxRatioAction from remove (1) to pause (0). Removing files on ratio completion risks data loss if Sonarr/Radarr hasn't imported yet. Pausing lets the arr services handle cleanup. - Increase log file size from 65KB to 10MB for meaningful debug history. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent aa5008b commit d51e2da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flake-modules/hosts/download-server-1/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,22 +1215,22 @@ EOF
12151215
"FileLogger\\Backup" = true;
12161216
"FileLogger\\DeleteOld" = true;
12171217
"FileLogger\\Enabled" = true;
1218-
"FileLogger\\MaxSizeBytes" = 66560;
1218+
"FileLogger\\MaxSizeBytes" = 10485760; # 10MB
12191219
"FileLogger\\Path" = "/var/lib/qBittorrent/qBittorrent/data/logs";
12201220
};
12211221

12221222
BitTorrent = {
12231223
MergeTrackersEnabled = true;
12241224
"Session\\AddExtensionToIncompleteFiles" = true;
12251225
"Session\\AddTorrentToTopOfQueue" = true;
1226-
"Session\\AnonymousModeEnabled" = false; # Disabled - was causing stalled torrents
1226+
"Session\\AnonymousModeEnabled" = true; # Hide client fingerprint from peers/trackers
12271227
"Session\\DefaultSavePath" = "/media/downloads/complete";
12281228
"Session\\DisableAutoTMMByDefault" = false;
12291229
"Session\\DisableAutoTMMTriggers\\CategorySavePathChanged" = false;
12301230
"Session\\DisableAutoTMMTriggers\\DefaultSavePathChanged" = false;
12311231
"Session\\ExcludedFileNames" = "";
12321232
"Session\\GlobalMaxRatio" = 2;
1233-
"Session\\MaxRatioAction" = 1; # Remove torrent and files after hitting ratio
1233+
"Session\\MaxRatioAction" = 0; # Pause torrent after hitting ratio (Sonarr/Radarr handle cleanup)
12341234
"Session\\I2P\\Enabled" = false; # Temporarily disabled to debug crashes
12351235
"Session\\I2P\\MixedMode" = true;
12361236
"Session\\IgnoreSlowTorrentsForQueueing" = true;

0 commit comments

Comments
 (0)