Updated Program

Added noise for the second condition to show we are checking for
updates.
This commit is contained in:
Mario Steele 2025-07-30 12:52:47 -05:00
parent e2c356a723
commit 13bb5ac0dd

View file

@ -95,9 +95,13 @@ class Program
{
Thread.Sleep(100);
if (lastTime - DateTime.Now <= TimeSpan.FromSeconds(30)) continue;
var start = DateTime.Now;
Console.WriteLine("Checking for updates...");
foreach (var syncer in syncers)
syncer.FetchDatabase().Wait();
lastTime = DateTime.Now;
var end = DateTime.Now - start;
Console.WriteLine($"Check completed. Total Time: {end}");
}
}
}