Fixed node not getting removed on failed health check
This commit is contained in:
parent
a96e00cdea
commit
36362af6ba
2 changed files with 2 additions and 1 deletions
|
|
@ -190,6 +190,7 @@ namespace LightReflectiveMirror.LoadBalancing
|
||||||
if(!await HealthCheckNode(keys[i].EndpointAddress, keys[i].EndpointPort))
|
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);
|
Logger.ForceLogMessage($"Server {keys[i].Address}:{keys[i].Port} failed a health check, removing from load balancer.", ConsoleColor.Red);
|
||||||
|
availableRelayServers.Remove(keys[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ Light Reflective Mirror is a transport for Mirror Networking which relays networ
|
||||||
* Built in server list!
|
* Built in server list!
|
||||||
* Relay password to stop other games from stealing your precious relay!
|
* Relay password to stop other games from stealing your precious relay!
|
||||||
* Relay supports connecting users without them needing to port forward!
|
* Relay supports connecting users without them needing to port forward!
|
||||||
* NAT Punchtrough
|
* NAT Punchtrough (Full Cone, Restricted Cone, and Port Restricted Cone)
|
||||||
* Direct Connecting
|
* Direct Connecting
|
||||||
* Load Balancing with multi-relay setup
|
* Load Balancing with multi-relay setup
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue