Skip to content

Commit

Permalink
Follow-up to 4701ede: reschedule bootstrap check while not done
Browse files Browse the repository at this point in the history
Non-trivial systems, like Infix[1], require more than one lap around the
track to warm up.  This is a follow-up to issue #362, commit 4701ede, in
fixing an obvious oversight in the new sm_check_bootstrap() work.  While
there are still outstanding bootstrap tasks or services that have not
yet started, we must reschedule the worker.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit committed Sep 13, 2023
1 parent 924ec2e commit ddedcf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sm.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ static void sm_check_bootstrap(void *work)

if (cnt-- > 0 && !service_completed()) {
dbg("Not all bootstrap run/tasks have completed yet ... %d", cnt);
schedule_work(work);
return;
}

Expand Down

0 comments on commit ddedcf7

Please sign in to comment.