zchuango commented on code in PR #3535:
URL: https://github.com/apache/brpc/pull/3535#discussion_r4034265156
##########
src/brpc/rdma_transport.cpp:
##########
@@ -70,31 +68,54 @@ int RdmaTransport::Reset(int32_t expected_nref) {
}
std::shared_ptr<AppConnect> RdmaTransport::Connect() {
- if (_default_connect == nullptr) {
- return std::make_shared<rdma::RdmaConnect>();
- }
- return _default_connect;
+ return _default_connect;
+}
+
+void RdmaTransport::SetHighSpeedAvailable(bool available) {
Review Comment:
Fixed. The affected RDMA and UBSHM transport/endpoint code has been restored
to 4-space indentation, and the accidental formatting noise was cleaned up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]