From: Timo Sirainen Date: Sun, 11 Dec 2022 21:13:09 +0000 (+0200) Subject: master: Use shorter interval to check when processes have stopped X-Git-Tag: 2.4.0~3287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91f13cc9f062e0f61eb2fc396a93c94ef67799ee;p=thirdparty%2Fdovecot%2Fcore.git master: Use shorter interval to check when processes have stopped Instead of waiting 100ms between checks, wait only 10ms. This makes shutdown slightly faster. --- 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); } }