From 1c20f6bd45235b5b063c7a6ae581e867cda1888e Mon Sep 17 00:00:00 2001 From: Feramance Date: Wed, 26 Jun 2024 10:38:02 +0200 Subject: [PATCH] Update config defaults --- config.example.toml | 8 ++++---- qBitrr/gen_config.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.example.toml b/config.example.toml index fbbb3800..1764c05e 100644 --- a/config.example.toml +++ b/config.example.toml @@ -218,7 +218,7 @@ DoNotRemoveSlow = true AllowStalled = false # Maximum allowed time for allowed stalled torrents -StalledDelay = 0 +StalledDelay = -1 [Sonarr-TV.Torrent.SeedingMode] @@ -421,7 +421,7 @@ DoNotRemoveSlow = true AllowStalled = false # Maximum allowed time for allowed stalled torrents -StalledDelay = 0 +StalledDelay = -1 [Sonarr-Anime.Torrent.SeedingMode] @@ -620,7 +620,7 @@ DoNotRemoveSlow = true AllowStalled = false # Maximum allowed time for allowed stalled torrents -StalledDelay = 0 +StalledDelay = -1 [Radarr-1080.Torrent.SeedingMode] @@ -832,7 +832,7 @@ DoNotRemoveSlow = true AllowStalled = false # Maximum allowed time for allowed stalled torrents -StalledDelay = 0 +StalledDelay = -1 [Radarr-4K.Torrent.SeedingMode] diff --git a/qBitrr/gen_config.py b/qBitrr/gen_config.py index 680123d0..f3719230 100755 --- a/qBitrr/gen_config.py +++ b/qBitrr/gen_config.py @@ -340,7 +340,7 @@ def _gen_default_torrent_table(category: str, cat_default: Table): _gen_default_line(torrent_table, "Ignore slow torrents.", "DoNotRemoveSlow", True) _gen_default_line(torrent_table, "Allow stalled torrents", "AllowStalled", False) _gen_default_line( - torrent_table, "Maximum allowed time for allowed stalled torrents", "StalledDelay", 0 + torrent_table, "Maximum allowed time for allowed stalled torrents", "StalledDelay", -1 ) _gen_default_seeding_table(category, torrent_table) _gen_default_tracker_tables(category, torrent_table)