mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 13:36:50 +01:00
Fix off by one error in swarm node counting
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Tgstation.Server.Host.Swarm
|
||||
get
|
||||
{
|
||||
lock (swarmServers)
|
||||
return swarmServers.Count - 1 > swarmConfiguration.UpdateRequiredNodeCount;
|
||||
return swarmServers.Count - 1 >= swarmConfiguration.UpdateRequiredNodeCount;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user