mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
Follow-up to 4701ede: reschedule bootstrap check while not done
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>
This commit is contained in:
1 parent
924ec2ef80
commit
ddedcf77e8
1 file changed
+1
@@ -60,6 +60,7 @@ static void sm_check_bootstrap(void *work)
|
|||||||
|
|
||||||
if (cnt-- > 0 && !service_completed()) {
|
if (cnt-- > 0 && !service_completed()) {
|
||||||
dbg("Not all bootstrap run/tasks have completed yet ... %d", cnt);
|
dbg("Not all bootstrap run/tasks have completed yet ... %d", cnt);
|
||||||
|
schedule_work(work);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user