default
This commit is contained in:
parent
96dbf70777
commit
d3006273b6
2 changed files with 3 additions and 2 deletions
|
|
@ -85,6 +85,7 @@ namespace LightReflectiveMirror.LoadBalancing
|
|||
|
||||
switch (relays[i].Key.serverRegion)
|
||||
{
|
||||
default:
|
||||
case (LRMRegions.NorthAmerica):
|
||||
_northAmericaServers.AddRange(requestedRooms);
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace LightReflectiveMirror.LoadBalancing
|
|||
{
|
||||
public partial class Endpoint
|
||||
{
|
||||
void CacheAllServers()
|
||||
static void CacheAllServers()
|
||||
{
|
||||
allCachedServers = JsonConvert.SerializeObject(_allServers);
|
||||
NorthAmericaCachedServers = JsonConvert.SerializeObject(_northAmericaServers);
|
||||
|
|
@ -15,7 +15,7 @@ namespace LightReflectiveMirror.LoadBalancing
|
|||
OceaniaCachedServers = JsonConvert.SerializeObject(_oceaniaServers);
|
||||
}
|
||||
|
||||
void ClearAllServersLists()
|
||||
static void ClearAllServersLists()
|
||||
{
|
||||
_northAmericaServers.Clear();
|
||||
_southAmericaServers.Clear();
|
||||
|
|
|
|||
Loading…
Reference in a new issue