修改health check module初始化的顺序,并修改日志级别

This commit is contained in:
luwenpeng
2023-02-24 15:41:57 +08:00
parent b06c0b77e1
commit 586fb056a6
2 changed files with 5 additions and 5 deletions

View File

@@ -67,6 +67,8 @@ int main(int argc, char **argv)
return -1;
}
health_check_session_init(profile);
struct sce_ctx *ctx = sce_ctx_create(profile);
if (ctx == NULL)
{
@@ -74,8 +76,6 @@ int main(int argc, char **argv)
return -1;
}
health_check_session_init(profile);
for (int i = 0; i < ctx->nr_worker_threads; i++)
{
ctx->work_threads[i].tid = 0;