This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
     new 1d2880d8a6 (brpc) donot use pooled brpc (#12753)
1d2880d8a6 is described below

commit 1d2880d8a6d9d70cd62695c592bc6ceb51e2b9af
Author: Yongqiang YANG <98214048+dataroar...@users.noreply.github.com>
AuthorDate: Tue Sep 20 22:25:30 2022 +0800

    (brpc) donot use pooled brpc (#12753)
    
    It seems that pooled brpc does not release port timely.
---
 be/src/util/brpc_client_cache.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/util/brpc_client_cache.h b/be/src/util/brpc_client_cache.h
index 8cd7e11b13..df01f65d4f 100644
--- a/be/src/util/brpc_client_cache.h
+++ b/be/src/util/brpc_client_cache.h
@@ -79,7 +79,7 @@ public:
 
     std::shared_ptr<T> get_new_client_no_cache(const std::string& host_port,
                                                const std::string& protocol = 
"baidu_std",
-                                               const std::string& connect_type 
= "pooled") {
+                                               const std::string& connect_type 
= "") {
         brpc::ChannelOptions options;
         if constexpr (std::is_same_v<T, PFunctionService_Stub>) {
             options.protocol = config::function_service_protocol;


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

Reply via email to