session manager stat metric rename

This commit is contained in:
luwenpeng
2024-08-16 18:41:02 +08:00
parent b77c8e6ba1
commit d1df1bb18b
14 changed files with 370 additions and 370 deletions

View File

@@ -393,12 +393,12 @@ static int all_session_have_freed(struct stellar_runtime *runtime, struct stella
struct session_manager *sess_mgr = runtime->threads[i].sess_mgr;
struct session_manager_stat *sess_stat = session_manager_stat(sess_mgr);
if (ATOMIC_READ(&sess_stat->curr_tcp_sess_used) != 0)
if (ATOMIC_READ(&sess_stat->tcp_sess_used) != 0)
{
return 0;
}
if (ATOMIC_READ(&sess_stat->curr_udp_sess_used) != 0)
if (ATOMIC_READ(&sess_stat->udp_sess_used) != 0)
{
return 0;
}