mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Opt: [ALAS] Dynamically extends nemu_ipc timeout on retries for slow PCs
This commit is contained in:
@@ -30,7 +30,7 @@ def retry(func):
|
||||
for _ in range(RETRY_TRIES):
|
||||
try:
|
||||
if callable(init):
|
||||
retry_sleep(_)
|
||||
time.sleep(retry_sleep(_))
|
||||
init()
|
||||
return func(self, *args, **kwargs)
|
||||
# Can't handle
|
||||
|
||||
Reference in New Issue
Block a user