net.add_rpc_unix_listen remove OB_USE_BABASSL
This commit is contained in:
@ -158,13 +158,9 @@ int ObSrvNetworkFrame::init()
|
|||||||
LOG_ERROR("high prio rpc net register fail", K(ret));
|
LOG_ERROR("high prio rpc net register fail", K(ret));
|
||||||
} else if (OB_FAIL(ingress_service_.init(GCONF.cluster_id))) {
|
} else if (OB_FAIL(ingress_service_.init(GCONF.cluster_id))) {
|
||||||
LOG_ERROR("endpoint ingress service init fail", K(ret));
|
LOG_ERROR("endpoint ingress service init fail", K(ret));
|
||||||
}
|
} else if (OB_FAIL(net_.add_rpc_unix_listen(rpc_unix_path, rpc_handler_))) {
|
||||||
#ifdef OB_USE_BABASSL
|
|
||||||
else if (OB_FAIL(net_.add_rpc_unix_listen(rpc_unix_path, rpc_handler_))) {
|
|
||||||
LOG_ERROR("listen rpc unix path fail");
|
LOG_ERROR("listen rpc unix path fail");
|
||||||
}
|
} else {
|
||||||
#endif
|
|
||||||
else {
|
|
||||||
if (OB_FAIL(obrpc::global_poc_server.start(rpc_port, io_cnt, &deliver_))) {
|
if (OB_FAIL(obrpc::global_poc_server.start(rpc_port, io_cnt, &deliver_))) {
|
||||||
LOG_ERROR("poc rpc server start fail", K(ret));
|
LOG_ERROR("poc rpc server start fail", K(ret));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user