mirror of
https://github.com/g3rv4/GetMoarFediverse.git
synced 2024-11-21 15:13:08 +01:00
Moar logging (#21)
This commit is contained in:
parent
83ca6bb63b
commit
2c11b898ff
@ -105,13 +105,18 @@ await Parallel.ForEachAsync(sitesTags, new ParallelOptions{MaxDegreeOfParallelis
|
||||
return;
|
||||
}
|
||||
|
||||
int count = 0;
|
||||
foreach (var statusLink in data.OrderedItems.Where(i=>!imported.Contains(i)))
|
||||
{
|
||||
statusesToLoadBag.Add(statusLink);
|
||||
count++;
|
||||
}
|
||||
|
||||
Console.WriteLine($"Retrieved {count} new statuses from {site} with hashtag #{tag}");
|
||||
});
|
||||
|
||||
var statusesToLoad = statusesToLoadBag.ToHashSet();
|
||||
Console.WriteLine($"Originally retrieved {statusesToLoadBag.Count} statuses. After removing duplicates, I got {statusesToLoad.Count} really unique ones");
|
||||
foreach (var statusLink in statusesToLoad)
|
||||
{
|
||||
Console.WriteLine($"Bringing in {statusLink}");
|
||||
|
Loading…
Reference in New Issue
Block a user