diff --git a/src/FilterLists.Services/Snapshot/SnapshotService.cs b/src/FilterLists.Services/Snapshot/SnapshotService.cs index 2a84e280e..cd2c9a913 100644 --- a/src/FilterLists.Services/Snapshot/SnapshotService.cs +++ b/src/FilterLists.Services/Snapshot/SnapshotService.cs @@ -13,12 +13,6 @@ namespace FilterLists.Services.Snapshot { public class SnapshotService : Service { - private readonly Expression> ifLastSnapFailed = - l => l.Snapshots - .OrderByDescending(s => s.CreatedDateUtc) - .Select(s => s.WasUpdated && !s.WasSuccessful) - .FirstOrDefault(); - private readonly Expression> lastSnapTimestamp = l => l.Snapshots .Select(s => s.CreatedDateUtc) @@ -55,7 +49,6 @@ private async Task> GetListsToCapture(int batc await DbContext .FilterLists .OrderBy(l => l.Snapshots.Any()) - .ThenByDescending(ifLastSnapFailed) .ThenBy(lastSnapTimestamp) .Take(batchSize) .ProjectTo(MapConfig)