mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-24 09:33:34 +00:00
Fix: Extend wait time so Rogue can be waited across update
This commit is contained in:
parent
7eef5c2ce4
commit
4677e43bbf
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user