1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-29 23:12:39 +01:00

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

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)
{