mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-01 01:01:18 +02:00
Fixed: Don't call to ConfigService for every Cardigann Result
This commit is contained in:
parent
d9ef1c72c0
commit
6f25e1e6a2
1 changed files with 2 additions and 1 deletions
|
|
@ -31,6 +31,8 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||
|
||||
_logger.Debug("Parsing");
|
||||
|
||||
var indexerLogging = _configService.LogIndexerResponse;
|
||||
|
||||
if (indexerResponse.HttpResponse.StatusCode != HttpStatusCode.OK)
|
||||
{
|
||||
// Remove cookie cache
|
||||
|
|
@ -102,7 +104,6 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||
try
|
||||
{
|
||||
var release = new CardigannReleaseInfo();
|
||||
var indexerLogging = _configService.LogIndexerResponse;
|
||||
|
||||
// Parse fields
|
||||
foreach (var field in search.Fields)
|
||||
|
|
|
|||
Loading…
Reference in a new issue