From 4677e43bbf9c3d188e7ca4dbf1524417da7b740f Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Thu, 27 Jun 2024 01:42:06 +0800 Subject: [PATCH] Fix: Extend wait time so Rogue can be waited across update --- 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 5c60b2427..35a4ace53 100644 --- a/module/webui/updater.py +++ b/module/webui/updater.py @@ -234,8 +234,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()