From 3d8f06db854a021cf0919dbb2bd854b21f9b8818 Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Mon, 6 Jul 2026 01:23:20 +0800 Subject: [PATCH] fix: increase sleep duration and timeout for process shutdown --- module/webui/updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/webui/updater.py b/module/webui/updater.py index 93fd9cc..e733d96 100644 --- a/module/webui/updater.py +++ b/module/webui/updater.py @@ -236,8 +236,8 @@ class Updater(DeployConfig, GitManager, PipManager): self.event.clear() ProcessManager.restart_processes(instances, self.event) return - time.sleep(0.25) - if time.time() - start_time > 60 * 10: + time.sleep(5) + if time.time() - start_time > 60 * 20: logger.warning("Waiting alas shutdown timeout, force kill") for alas in _instances: alas.stop()