关闭 watchdog 检测 worker thread 状态的 debug 日志; 增加 usage() 显示帮助信息

This commit is contained in:
luwenpeng
2021-04-29 11:06:11 +08:00
parent 19a3fe9217
commit c184cf6ad6
2 changed files with 18 additions and 7 deletions

View File

@@ -223,7 +223,7 @@ static void health_check_for_thread_worker(evutil_socket_t fd, short what, void
TFE_LOG_ERROR(g_default_logger, "Watchdog thread nowtime %ld, Worker thread %d lastime %ld, Worker thread no reply, Exit ! ! ! ", now.tv_sec, proxy->work_threads[i]->thread_id, temp);
exit(-1);
}
TFE_LOG_DEBUG(g_default_logger, "Watchdog thread nowtime %ld, Worker thread %d lastime %lds ", now.tv_sec, proxy->work_threads[i]->thread_id, temp);
// TFE_LOG_DEBUG(g_default_logger, "Watchdog thread nowtime %ld, Worker thread %d lastime %lds ", now.tv_sec, proxy->work_threads[i]->thread_id, temp);
}
}