From c46ed33544310dec3ada35eff6cf156a040287a7 Mon Sep 17 00:00:00 2001 From: Zippy79 Date: Tue, 25 Jan 2022 20:36:24 +0900 Subject: [PATCH] Fixed: Download limit check was using the query limit instead of the grab limit. --- src/NzbDrone.Core/Indexers/IndexerLimitService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Indexers/IndexerLimitService.cs b/src/NzbDrone.Core/Indexers/IndexerLimitService.cs index 35cb5d6f8..9c3087d18 100644 --- a/src/NzbDrone.Core/Indexers/IndexerLimitService.cs +++ b/src/NzbDrone.Core/Indexers/IndexerLimitService.cs @@ -29,7 +29,7 @@ namespace NzbDrone.Core.Indexers if (indexer.Id > 0 && ((IIndexerSettings)indexer.Settings).BaseSettings.GrabLimit.HasValue) { var grabCount = _historyService.CountSince(indexer.Id, DateTime.Now.AddHours(-24), new List { HistoryEventType.ReleaseGrabbed }); - var grabLimit = ((IIndexerSettings)indexer.Settings).BaseSettings.QueryLimit; + var grabLimit = ((IIndexerSettings)indexer.Settings).BaseSettings.GrabLimit; if (grabCount > grabLimit) {