1
This commit is contained in:
parent
19fd034d79
commit
68a8c14305
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user