mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-18 16:29:41 +02:00
Apply suggestions from code review
This commit is contained in:
parent
97ed820575
commit
f69a847d9a
@ -66,8 +66,6 @@ public ImportListFetchResult Fetch()
|
|||||||
var importListLocal = importList;
|
var importListLocal = importList;
|
||||||
var importListStatus = _importListStatusService.GetLastSyncListInfo(importListLocal.Definition.Id);
|
var importListStatus = _importListStatusService.GetLastSyncListInfo(importListLocal.Definition.Id);
|
||||||
|
|
||||||
_logger.ProgressInfo("Syncing Movies for Import List [{0}]: {1}", importList.Name, importListLocal.Definition.Name);
|
|
||||||
|
|
||||||
if (importListStatus.HasValue)
|
if (importListStatus.HasValue)
|
||||||
{
|
{
|
||||||
var importListNextSync = importListStatus.Value + importListLocal.MinRefreshInterval;
|
var importListNextSync = importListStatus.Value + importListLocal.MinRefreshInterval;
|
||||||
@ -79,6 +77,8 @@ public ImportListFetchResult Fetch()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_logger.ProgressInfo("Syncing Movies for Import List [{0}]: {1}", importList.Name, importListLocal.Definition.Name);
|
||||||
|
|
||||||
var blockedLists = _importListStatusService.GetBlockedProviders().ToDictionary(v => v.ProviderId, v => v);
|
var blockedLists = _importListStatusService.GetBlockedProviders().ToDictionary(v => v.ProviderId, v => v);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user