This commit is contained in:
aozhiwei 2022-05-26 20:27:19 +08:00
parent c388dbf87e
commit 14a5149668

View File

@ -203,9 +203,13 @@ GSNode* GSMgr::AllocNode(int channel)
GSNode* n2 = sorted_nodes->at(sorted_nodes->size() - 2);
if (n1->online_num < 100 && n2->online_num < 100) {
if (n1->instance_id < n2->instance_id) {
return n1;
if (n1->servicing) {
return n1;
}
} else {
return n2;
if (n2->servicing) {
return n2;
}
}
}
}