From 91f13cc9f062e0f61eb2fc396a93c94ef67799ee Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 11 Dec 2022 23:13:09 +0200 Subject: [PATCH] master: Use shorter interval to check when processes have stopped Instead of waiting 100ms between checks, wait only 10ms. This makes shutdown slightly faster. --- src/master/service-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/master/service-monitor.c b/src/master/service-monitor.c index 1796e33b3f..42422330b3 100644 --- a/src/master/service-monitor.c +++ b/src/master/service-monitor.c @@ -614,7 +614,7 @@ static void services_monitor_wait(struct service_list *service_list) if (finished || timeval_diff_msecs(&ioloop_timeval, &tv_start) > MAX_DIE_WAIT_MSECS) break; - i_sleep_msecs(100); + i_sleep_msecs(10); } } -- 2.47.3