Optimize latency and IP address information testing

If the first test fails, it will be tested again after 500ms.
This commit is contained in:
2dust
2025-02-26 14:30:10 +08:00
parent a7f35d4495
commit 984b97fc14
2 changed files with 14 additions and 11 deletions
@@ -316,6 +316,8 @@ namespace ServiceLib.ViewModels
return;
}
_updateView?.Invoke(EViewAction.DispatcherServerAvailability, ResUI.Speedtesting);
var msg = await (new UpdateService()).RunAvailabilityCheck();
NoticeHandler.Instance.SendMessageEx(msg);