TSG-2994 将 TFE 支持的配置项补充到 tfe.conf 中
This commit is contained in:
@@ -193,7 +193,7 @@ struct acceptor_kni_v2 * acceptor_kni_v2_create(struct tfe_proxy * proxy, const
|
||||
__ctx->logger = logger;
|
||||
|
||||
/* Read the unix domain socket file, this file is used to recieve fds from KNI */
|
||||
MESA_load_profile_string_def(profile, "acceptor_kni_v2", "scm_socket_file", __ctx->str_scm_socket,
|
||||
MESA_load_profile_string_def(profile, "kni", "scm_socket_file", __ctx->str_scm_socket,
|
||||
sizeof(__ctx->str_scm_socket), TFE_CONFIG_SCM_SOCKET_FILE);
|
||||
|
||||
__sockaddr_un.sun_family = AF_UNIX;
|
||||
|
||||
@@ -335,7 +335,6 @@ int tfe_proxy_config(struct tfe_proxy * proxy, const char * profile)
|
||||
{
|
||||
/* Worker threads */
|
||||
MESA_load_profile_uint_def(profile, "system", "nr_worker_threads", &proxy->nr_work_threads, 1);
|
||||
MESA_load_profile_uint_def(profile, "system", "buffer_output_limit", &proxy->buffer_output_limit, 0);
|
||||
MESA_load_profile_uint_def(profile, "system", "enable_cpu_affinity", &proxy->enable_cpu_affinity, 0);
|
||||
MESA_load_profile_uint_range(profile, "system", "cpu_affinity_mask", TFE_THREAD_MAX, proxy->cpu_affinity_mask);
|
||||
// LEAST_CONN = 0; ROUND_ROBIN = 1,
|
||||
|
||||
Reference in New Issue
Block a user