Fixed: Don't enforce minimum on single list fetch

This commit is contained in:
Qstick 2022-12-18 10:18:40 -06:00
parent b15b6a0798
commit 62354dfac8
1 changed files with 2 additions and 8 deletions

View File

@ -100,14 +100,6 @@ namespace NzbDrone.Core.ImportLists
return result;
}
var importListStatus = _importListStatusService.GetLastSyncListInfo(importList.Definition.Id);
if (DateTime.UtcNow < (importListStatus + importList.MinRefreshInterval))
{
_logger.Trace("Skipping refresh of Import List {0} due to minimum refresh inverval", importList.Definition.Name);
return result;
}
var taskList = new List<Task>();
var taskFactory = new TaskFactory(TaskCreationOptions.LongRunning, TaskContinuationOptions.None);
@ -125,6 +117,8 @@ namespace NzbDrone.Core.ImportLists
result.AddRange(importListReports);
}
_importListStatusService.UpdateListSyncStatus(importList.Definition.Id);
}
catch (Exception e)
{