Merge branch 'master_test_gn' of http://60.1.1.230/backend/jieling_server into master_test_gn

back_recharge
jiahuiwen 2022-04-06 15:43:00 +08:00
commit 2bd61083e2
1 changed files with 5 additions and 5 deletions

View File

@ -53,15 +53,15 @@ public class ThriftFactory extends BaseKeyedPooledObjectFactory<String, TTranspo
TTransport transport = null;
if (key.equals(ServiceKey.RPCCore)){
transport = new TSocket(host, port);
transport = new TSocket(host, port, 3000);
}else if (key.equals(ServiceKey.RPCMATCH)){
transport = new TSocket(host, port);
transport = new TSocket(host, port, 3000);
}else if (key.equals(ServiceKey.GM_CANCLE_SCENE)){
transport = new TSocket(host, port);
transport = new TSocket(host, port, 3000);
}else if (key.equals(ServiceKey.RPC_GLOBAL)){
transport = new TSocket(host, port);
transport = new TSocket(host, port, 3000);
}else if (key.equals(ServiceKey.RPC_WORLD)){
transport = new TSocket(host, port);
transport = new TSocket(host, port, 3000);
}
if (transport!=null){