Fixed: Don't call to ConfigService for every Cardigann Result

This commit is contained in:
Qstick
2021-03-23 20:36:11 -04:00
parent d9ef1c72c0
commit 6f25e1e6a2

View File

@@ -31,6 +31,8 @@ namespace NzbDrone.Core.Indexers.Cardigann
_logger.Debug("Parsing");
var indexerLogging = _configService.LogIndexerResponse;
if (indexerResponse.HttpResponse.StatusCode != HttpStatusCode.OK)
{
// Remove cookie cache
@@ -102,7 +104,6 @@ namespace NzbDrone.Core.Indexers.Cardigann
try
{
var release = new CardigannReleaseInfo();
var indexerLogging = _configService.LogIndexerResponse;
// Parse fields
foreach (var field in search.Fields)