This commit is contained in:
azw 2023-11-24 09:06:50 +00:00
parent 19fd034d79
commit 68a8c14305

View File

@ -293,6 +293,9 @@ void GSMgr::RearrangeNode()
std::sort(pair.second.begin(), pair.second.end(),
[] (const std::shared_ptr<GSNode> a, const std::shared_ptr<GSNode> b)
{
if (a->version > b->version) {
return true;
}
if (a->servicing && b->servicing) {
if (a->online_num < b->online_num) {
return true;