mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Don't call to ConfigService for every Cardigann Result
This commit is contained in:
@@ -31,6 +31,8 @@ namespace NzbDrone.Core.Indexers.Cardigann
|
|||||||
|
|
||||||
_logger.Debug("Parsing");
|
_logger.Debug("Parsing");
|
||||||
|
|
||||||
|
var indexerLogging = _configService.LogIndexerResponse;
|
||||||
|
|
||||||
if (indexerResponse.HttpResponse.StatusCode != HttpStatusCode.OK)
|
if (indexerResponse.HttpResponse.StatusCode != HttpStatusCode.OK)
|
||||||
{
|
{
|
||||||
// Remove cookie cache
|
// Remove cookie cache
|
||||||
@@ -102,7 +104,6 @@ namespace NzbDrone.Core.Indexers.Cardigann
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var release = new CardigannReleaseInfo();
|
var release = new CardigannReleaseInfo();
|
||||||
var indexerLogging = _configService.LogIndexerResponse;
|
|
||||||
|
|
||||||
// Parse fields
|
// Parse fields
|
||||||
foreach (var field in search.Fields)
|
foreach (var field in search.Fields)
|
||||||
|
Reference in New Issue
Block a user