mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
Get 1000 releases from indexers
This commit is contained in:
@@ -75,7 +75,7 @@ namespace NzbDrone.Core.Test.IndexerTests
|
||||
var indexer = WithIndexer(true, 100);
|
||||
Subject.Fetch(indexer, new SeasonSearchCriteria { Series = _series, SceneTitle = _series.Title });
|
||||
|
||||
Mocker.GetMock<IHttpProvider>().Verify(v => v.DownloadString(It.IsAny<String>()), Times.Exactly(11));
|
||||
Mocker.GetMock<IHttpProvider>().Verify(v => v.DownloadString(It.IsAny<String>()), Times.Exactly(10));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -61,7 +61,7 @@ namespace NzbDrone.Core.Indexers
|
||||
_logger.Info("{0} offset {1}. Found {2}", indexer, searchCriteria, result.Count);
|
||||
|
||||
if (result.Count > 90 &&
|
||||
offset < 1000 &&
|
||||
offset < 900 &&
|
||||
indexer.SupportsPaging)
|
||||
{
|
||||
result.AddRange(Fetch(indexer, searchCriteria, offset + 100));
|
||||
|
Reference in New Issue
Block a user