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

gabriellee pushed a commit to branch opt_perf
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/opt_perf by this push:
     new d7a1450801 [chore](config) increase minimum thread num of some thread 
pool (#12925)
d7a1450801 is described below

commit d7a14508014b4b5398ac7cc5e3716f63a1132ff4
Author: Jerry Hu <mrh...@gmail.com>
AuthorDate: Fri Sep 23 18:06:22 2022 +0800

    [chore](config) increase minimum thread num of some thread pool (#12925)
---
 be/src/runtime/exec_env_init.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/be/src/runtime/exec_env_init.cpp b/be/src/runtime/exec_env_init.cpp
index fc2f5a7c02..c13c059d5b 100644
--- a/be/src/runtime/exec_env_init.cpp
+++ b/be/src/runtime/exec_env_init.cpp
@@ -120,19 +120,19 @@ Status ExecEnv::_init(const std::vector<StorePath>& 
store_paths) {
                                    
config::doris_remote_scanner_thread_pool_queue_size);
 
     ThreadPoolBuilder("LimitedScanThreadPool")
-            .set_min_threads(1)
+            .set_min_threads(config::doris_scanner_thread_pool_thread_num)
             .set_max_threads(config::doris_scanner_thread_pool_thread_num)
             .set_max_queue_size(config::doris_scanner_thread_pool_queue_size)
             .build(&_limited_scan_thread_pool);
 
     ThreadPoolBuilder("SendBatchThreadPool")
-            .set_min_threads(1)
+            .set_min_threads(config::send_batch_thread_pool_thread_num)
             .set_max_threads(config::send_batch_thread_pool_thread_num)
             .set_max_queue_size(config::send_batch_thread_pool_queue_size)
             .build(&_send_batch_thread_pool);
 
     ThreadPoolBuilder("DownloadCacheThreadPool")
-            .set_min_threads(1)
+            .set_min_threads(config::download_cache_thread_pool_thread_num)
             .set_max_threads(config::download_cache_thread_pool_thread_num)
             .set_max_queue_size(config::download_cache_thread_pool_queue_size)
             .build(&_download_cache_thread_pool);


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

Reply via email to