Fix: Extend wait time so Rogue can be waited across update

This commit is contained in:
LmeSzinc 2024-06-27 01:42:06 +08:00
parent 7eef5c2ce4
commit 4677e43bbf

View File

@ -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()