adonis0147 commented on code in PR #11714:
URL: https://github.com/apache/doris/pull/11714#discussion_r945404428


##########
thirdparty/patches/brpc-1.2.0.patch:
##########
@@ -0,0 +1,13 @@
+diff --git a/tools/rpc_press/rpc_press_impl.cpp 
b/tools/rpc_press/rpc_press_impl.cpp
+index 8a873eff..d1ff2a1e 100644
+--- a/tools/rpc_press/rpc_press_impl.cpp
++++ b/tools/rpc_press/rpc_press_impl.cpp
+@@ -222,7 +222,7 @@ void RpcPress::sync_client() {
+     int64_t last_expected_time = butil::monotonic_time_ns();
+     const int64_t interval = (int64_t) (1000000000L / req_rate);
+     // the max tolerant delay between end_time and expected_time. 10ms or 10 
intervals
+-    int64_t max_tolerant_delay = std::max(10000000L, 10 * interval);    
++    int64_t max_tolerant_delay = std::max<int64_t>(10000000L, 10 * interval);

Review Comment:
   BRPC have fixed it in https://github.com/apache/incubator-brpc/pull/1846



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to