From 36362af6ba8a58ad5686207493d82ec20f2ecbda Mon Sep 17 00:00:00 2001 From: Derek S <44935661+Derek-R-S@users.noreply.github.com> Date: Tue, 6 Apr 2021 23:29:37 -0500 Subject: [PATCH] Fixed node not getting removed on failed health check --- .../LRM_LoadBalancer/Program.cs | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/Program.cs b/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/Program.cs index 2f639c8..f80ba0f 100644 --- a/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/Program.cs +++ b/LoadBalancerProject-DONT-IMPORT-INTO-UNITY/LRM_LoadBalancer/Program.cs @@ -190,6 +190,7 @@ namespace LightReflectiveMirror.LoadBalancing if(!await HealthCheckNode(keys[i].EndpointAddress, keys[i].EndpointPort)) { Logger.ForceLogMessage($"Server {keys[i].Address}:{keys[i].Port} failed a health check, removing from load balancer.", ConsoleColor.Red); + availableRelayServers.Remove(keys[i]); } } diff --git a/README.md b/README.md index 4c2060b..b5e57a8 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Light Reflective Mirror is a transport for Mirror Networking which relays networ * Built in server list! * Relay password to stop other games from stealing your precious relay! * Relay supports connecting users without them needing to port forward! -* NAT Punchtrough +* NAT Punchtrough (Full Cone, Restricted Cone, and Port Restricted Cone) * Direct Connecting * Load Balancing with multi-relay setup