[AGENT][INIT] 优化启动流程代码
This commit is contained in:
@@ -68,6 +68,14 @@ public class XrayDBOperator {
|
||||
String serverCity = serverInfoVO
|
||||
.getLocation()
|
||||
.split(" ")[0];
|
||||
|
||||
// fix bug for Seoul的情况 tmd
|
||||
if (!ALL_SERVER_CITY_INDEX.containsKey(serverCity)) {
|
||||
serverCity = serverInfoVO
|
||||
.getLocation()
|
||||
.split(" ")[1];
|
||||
}
|
||||
|
||||
int cityBitMapBase = ALL_SERVER_CITY_INDEX.get(serverCity) * 10;
|
||||
int serverGraphNum = cityBitMapBase;
|
||||
for (int index = cityBitMapBase; index < cityBitMapBase + 10; index++) {
|
||||
|
||||
Reference in New Issue
Block a user