From 0ce028add1d8e957b5e609a5414a35f780c8a969 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Wed, 1 Jun 2022 22:17:23 +0200 Subject: [PATCH] Fix #283: too quick timeout at bootstrap of lingering tasks This seemed odd at first, but it turns out we seem to have adjusted the time scale for the bootstrap worker, so we were off by ... a factor 10. Signed-off-by: Joachim Wiberg --- src/finit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finit.c b/src/finit.c index 03295979..d8b251c7 100644 --- a/src/finit.c +++ b/src/finit.c @@ -577,7 +577,7 @@ static void bootstrap_worker(void *work) .cb = finalize, .delay = 10 }; - static int cnt = 120; + static int cnt = 120 * 10; /* We run with 100ms period */ int level = cfglevel; _d("Step all services ...");