Skip to content

Commit

Permalink
Merge pull request #2884 from matt335672/fix_sesman_cpu
Browse files Browse the repository at this point in the history
Fix session_list scanning where some entries were skipped
  • Loading branch information
matt335672 authored Dec 23, 2023
2 parents c654948 + e529a04 commit bbd3571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sesman/session_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,9 +525,9 @@ session_list_get_wait_objs(tbus robjs[], int *robjs_count)
int
session_list_check_wait_objs(void)
{
int i;
int i = 0;

for (i = 0 ; i < g_session_list->count; ++i)
while (i < g_session_list->count)
{
struct session_item *si;
si = (struct session_item *)list_get_item(g_session_list, i);
Expand Down

0 comments on commit bbd3571

Please sign in to comment.