mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-28 10:45:19 +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()
|
self.event.clear()
|
||||||
ProcessManager.restart_processes(instances, self.event)
|
ProcessManager.restart_processes(instances, self.event)
|
||||||
return
|
return
|
||||||
time.sleep(0.25)
|
time.sleep(5)
|
||||||
if time.time() - start_time > 60 * 10:
|
if time.time() - start_time > 60 * 20:
|
||||||
logger.warning("Waiting alas shutdown timeout, force kill")
|
logger.warning("Waiting alas shutdown timeout, force kill")
|
||||||
for alas in _instances:
|
for alas in _instances:
|
||||||
alas.stop()
|
alas.stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user