skip snaps of 526 for now

This commit is contained in:
Collin Barrett 2018-09-14 19:45:44 -05:00
parent 09f956bc69
commit a59b2a4d51

View file

@ -54,6 +54,7 @@ FROM snapshots_rules
private async Task<IEnumerable<FilterListViewUrlDto>> GetListsToCapture(int batchSize) =>
await DbContext
.FilterLists
.Where(l => l.Id != 526) //~2 million rules, too big for SnapshotService currently
.OrderBy(l => l.Snapshots.Any())
.ThenByDescending(ifLastSnapFailed)
.ThenBy(lastSnapTimestamp)