From 8786a38fbbf93378d163fc29b5290808bf5c79c4 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Tue, 18 Sep 2018 14:11:44 +0800 Subject: [PATCH] =?UTF-8?q?pangu-http=E8=AE=BE=E7=BD=AE=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E7=9A=84tfe=E5=B7=A5=E4=BD=9C=E7=BA=BF=E7=A8=8B=E6=95=B0?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/pangu-http/pangu_http.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/business/pangu-http/pangu_http.cpp b/plugin/business/pangu-http/pangu_http.cpp index 7662844..60294d9 100644 --- a/plugin/business/pangu-http/pangu_http.cpp +++ b/plugin/business/pangu-http/pangu_http.cpp @@ -148,6 +148,7 @@ int pangu_http_init(struct tfe_proxy * proxy) const char* profile="./pangu_conf/pangu_pxy.conf"; const char* logfile="./log/pangu_pxy.log"; g_pangu_rt=ALLOC(struct pangu_rt,1); + g_pangu_rt->thread_num=16; MESA_load_profile_int_def(profile, "DEBUG", "LOG_LEVEL", &(g_pangu_rt->log_level),0); g_pangu_rt->local_logger=MESA_create_runtime_log_handle(logfile, g_pangu_rt->log_level); g_pangu_rt->send_logger=pangu_log_handle_create(profile, "LOG", g_pangu_rt->local_logger);