将watchdog退出的函数从exit()改为abort()
This commit is contained in:
@@ -221,7 +221,7 @@ static void health_check_for_thread_worker(evutil_socket_t fd, short what, void
|
||||
if (temp + 2 + 2 + 1 < now.tv_sec)
|
||||
{
|
||||
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);
|
||||
abort();
|
||||
}
|
||||
// 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user