1
This commit is contained in:
parent
c388dbf87e
commit
14a5149668
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user