App: Delay auto update check even more
All checks were successful
Test / Run tests (push) Successful in 2m15s

This commit is contained in:
2025-09-29 16:14:16 +02:00
parent 1b69fcb16a
commit 67ba342c28

View File

@@ -128,7 +128,7 @@ namespace Elwig {
if (Config.UpdateAuto && Config.UpdateUrl != null) { if (Config.UpdateAuto && Config.UpdateUrl != null) {
if (Utils.HasInternetConnectivity()) { if (Utils.HasInternetConnectivity()) {
Utils.RunBackground("Auto Updater", async () => { Utils.RunBackground("Auto Updater", async () => {
await Task.Delay(500); await Task.Delay(1000);
await CheckForUpdates(); await CheckForUpdates();
}); });
} }
@@ -234,7 +234,7 @@ namespace Elwig {
if (!evt.IsAvailable) return; if (!evt.IsAvailable) return;
if (Utils.HasInternetConnectivity()) { if (Utils.HasInternetConnectivity()) {
Utils.RunBackground("Auto Updater", async () => { Utils.RunBackground("Auto Updater", async () => {
await Task.Delay(500); await Task.Delay(2000);
await CheckForUpdates(); await CheckForUpdates();
}); });
} }