From 4415d600fbb4298c0ae263724677c1ab2940c6e7 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Wed, 29 Aug 2018 10:59:36 -0500 Subject: [PATCH] fix build error in 16f918616b8ccaacfd3a798982105a194dfa0525 --- src/FilterLists.Services/Snapshot/SnapshotService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/FilterLists.Services/Snapshot/SnapshotService.cs b/src/FilterLists.Services/Snapshot/SnapshotService.cs index dea8410c2..539b1f971 100644 --- a/src/FilterLists.Services/Snapshot/SnapshotService.cs +++ b/src/FilterLists.Services/Snapshot/SnapshotService.cs @@ -39,8 +39,7 @@ private async Task CleanupFailedSnapshots() private async Task> GetListsToCapture(int batchSize) => await DbContext .FilterLists - .Where(l => !l.CantSnapshot && - !(l.ViewUrl.StartsWith(WaybackService.WaybackMachineUrlPrefix) && + .Where(l => !(l.ViewUrl.StartsWith(WaybackService.WaybackMachineUrlPrefix) && l.Snapshots.Any(s => s.WasSuccessful))) .OrderBy(l => l.Snapshots.Any()) .ThenBy(l => l.Snapshots