diff --git a/WD7UVN_HFT_2023241.Client/RestService.cs b/WD7UVN_HFT_2023241.Client/RestService.cs index f66d406..21c29f6 100644 --- a/WD7UVN_HFT_2023241.Client/RestService.cs +++ b/WD7UVN_HFT_2023241.Client/RestService.cs @@ -36,7 +36,7 @@ namespace WD7UVN_HFT_2023241.Client { isOk = Ping(baseurl + pingableEndpoint); tries++; - } while (isOk == false || tries > 5); + } while (isOk == false && tries < 5); if (isOk == false) {