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