From bcc117cd0d78722ea29e18556456ecce4c55519b Mon Sep 17 00:00:00 2001 From: Flaminel Date: Mon, 15 Sep 2025 22:03:18 +0300 Subject: [PATCH] Fix slow strikes not being reset (#305) --- .../Features/DownloadClient/DownloadService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/backend/Cleanuparr.Infrastructure/Features/DownloadClient/DownloadService.cs b/code/backend/Cleanuparr.Infrastructure/Features/DownloadClient/DownloadService.cs index d83a7c3c..ce6151f9 100644 --- a/code/backend/Cleanuparr.Infrastructure/Features/DownloadClient/DownloadService.cs +++ b/code/backend/Cleanuparr.Infrastructure/Features/DownloadClient/DownloadService.cs @@ -125,7 +125,7 @@ public abstract class DownloadService : IDownloadService { var queueCleanerConfig = ContextProvider.Get(nameof(QueueCleanerConfig)); - if (queueCleanerConfig.Slow.ResetStrikesOnProgress) + if (!queueCleanerConfig.Slow.ResetStrikesOnProgress) { return; } @@ -145,7 +145,7 @@ public abstract class DownloadService : IDownloadService { var queueCleanerConfig = ContextProvider.Get(nameof(QueueCleanerConfig)); - if (queueCleanerConfig.Slow.ResetStrikesOnProgress) + if (!queueCleanerConfig.Slow.ResetStrikesOnProgress) { return; }