mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
retry failed snapshots first
...but still no more than once per day ref #369
This commit is contained in:
parent
578d671ad2
commit
815ef345fb
1 changed files with 4 additions and 0 deletions
|
|
@ -37,6 +37,10 @@ await DbContext
|
|||
.OrderByDescending(d => d)
|
||||
.First() < yesterday))
|
||||
.OrderBy(l => l.Snapshots.Any())
|
||||
.ThenBy(l => l.Snapshots
|
||||
.OrderByDescending(s => s.CreatedDateUtc)
|
||||
.FirstOrDefault()
|
||||
.WasSuccessful)
|
||||
.ThenBy(l => l.Snapshots
|
||||
.Select(s => s.CreatedDateUtc)
|
||||
.OrderByDescending(d => d)
|
||||
|
|
|
|||
Loading…
Reference in a new issue