fix: extend nemu_ipc timeout on retries dynamically for slow PCs

This commit is contained in:
2026-07-06 22:40:43 +08:00
parent 1e152c4641
commit 6582754025
13 changed files with 33 additions and 18 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import os
import time
from functools import wraps
import lz4.block
@@ -27,7 +28,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