From 7aed28d28a88c11ff3f9b3805df6583c793c2893 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 12 Oct 2024 13:28:10 +0530 Subject: [PATCH] Layne: add scheduling and seed limits to transmission --- hosts/layne/services/apps/transmission.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/hosts/layne/services/apps/transmission.nix b/hosts/layne/services/apps/transmission.nix index f61ff3b..611a93a 100644 --- a/hosts/layne/services/apps/transmission.nix +++ b/hosts/layne/services/apps/transmission.nix @@ -31,6 +31,21 @@ in rpc-port = 9091; rpc-host-whitelist = "transmission.labs.adtya.xyz"; watch-dir-enabled = true; + preallocation = 2; + alt-speed-time-enabled = true; + alt-speed-time-begin = 360; # 6AM + alt-speed-time-end = 1320; # 10PM + alt-speed-time-day = 127; # 1111111 (Everyday) + alt-speed-down = 10240; + alt-speed-up = 8192; + speed-limit-down-enabled = true; + speed-limit-down = 20480; + speed-limit-up-enabled = true; + speed-limit-up = 16384; + idle-seeding-limit-enabled = true; + idle-seeding-limit = 180; + ratio-limit-enabled = true; + ratio-limit = 2; }; }; };