yiguolei commented on code in PR #19734:
URL: https://github.com/apache/doris/pull/19734#discussion_r1196545507


##########
be/src/agent/task_worker_pool.cpp:
##########
@@ -1880,4 +1811,81 @@ void 
TaskWorkerPool::_push_cooldown_conf_worker_thread_callback() {
     }
 }
 
+CreateTableTaskPool::CreateTableTaskPool(ExecEnv* env, const TMasterInfo& 
master_info,
+                                         ThreadModel thread_model)
+        : TaskWorkerPool(TaskWorkerType::CREATE_TABLE, env, master_info, 
thread_model) {}
+
+void CreateTableTaskPool::_set_callback_and_worker_count() {

Review Comment:
   call back 也直接在构造函数里传递把,不要单独的函数来set了



-- 
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