Skip to content

Commit

Permalink
Store the last 5000 urls
Browse files Browse the repository at this point in the history
  • Loading branch information
g3rv4 authored Jan 12, 2023
1 parent 8efdc77 commit 32280c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ await Parallel.ForEachAsync(Config.Instance.Sites,
}
}

if (importedList.Count > 1000)
if (importedList.Count > 5000)
{
importedList = importedList
.Skip(importedList.Count - 1000)
.Skip(importedList.Count - 5000)
.ToList();
}

Expand Down

0 comments on commit 32280c3

Please sign in to comment.