From 2cf120ab1c57411d79536d5466bd44ed0d46cebf Mon Sep 17 00:00:00 2001 From: FrankXMX <31796712+FrankXMX@users.noreply.github.com> Date: Tue, 13 Sep 2022 15:49:01 +0800 Subject: [PATCH] =?UTF-8?q?stage=E7=BA=BF=E7=A8=8B=E5=88=86=E9=85=8D?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20#75=20(#76)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 没有为stage分配配置的线程池,而使用了默认线程池 --- deps/common/seda/seda_config.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/common/seda/seda_config.cpp b/deps/common/seda/seda_config.cpp index c46a044..540d3bc 100644 --- a/deps/common/seda/seda_config.cpp +++ b/deps/common/seda/seda_config.cpp @@ -312,8 +312,9 @@ std::string SedaConfig::get_thread_pool(std::string &stage_name) stage_name.c_str(), thread_name.c_str(), DEFAULT_THREAD_POOL); + return ret; } - return ret; + return thread_name; } SedaConfig::status_t SedaConfig::init_stages() -- GitLab