enhance: rename session manager stat iterm name

This commit is contained in:
luwenpeng
2024-08-14 11:25:04 +08:00
parent 7e377952a2
commit e8299dd77c
16 changed files with 484 additions and 484 deletions

View File

@@ -355,12 +355,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_nr_tcp_sess_used) != 0)
if (ATOMIC_READ(&sess_stat->curr_tcp_sess_used) != 0)
{
return 0;
}
if (ATOMIC_READ(&sess_stat->curr_nr_udp_sess_used) != 0)
if (ATOMIC_READ(&sess_stat->curr_udp_sess_used) != 0)
{
return 0;
}