feature: TSG-21853 Refactoring TFE Kafka infrastructure
This commit is contained in:
@@ -272,7 +272,7 @@ static void __signal_handler_cb(evutil_socket_t fd, short what, void * arg)
|
||||
TFE_LOG_ERROR(ctx->logger, "recv SIGHUP, reload zlog.conf");
|
||||
MESA_handle_runtime_log_reconstruction(NULL);
|
||||
MESA_load_profile_int_def(profile_path, "maat", "log_level", &(log_level), LOG_LEVEL_FATAL);
|
||||
maat = (struct maat *)tfe_bussiness_resouce_get(STATIC_MAAT);
|
||||
maat = tfe_get_maat_handle();
|
||||
if(maat)
|
||||
{
|
||||
maat_reload_log_level(maat, (enum log_level)log_level);
|
||||
@@ -688,7 +688,7 @@ int main(int argc, char * argv[])
|
||||
CHECK_OR_EXIT(g_default_proxy->key_keeper_handler, "Failed at init Key keeper. Exit.");
|
||||
|
||||
/* RESOURCE INIT */
|
||||
ret = tfe_bussiness_resouce_init();
|
||||
ret = tfe_env_init();
|
||||
CHECK_OR_EXIT(ret == 0, "TFE bussiness resource init failed. Exit.");
|
||||
|
||||
/* SSL INIT */
|
||||
|
||||
Reference in New Issue
Block a user