diff --git a/astrbot/core/computer/booters/shipyard.py b/astrbot/core/computer/booters/shipyard.py index 4adfde1da..79837794d 100644 --- a/astrbot/core/computer/booters/shipyard.py +++ b/astrbot/core/computer/booters/shipyard.py @@ -58,7 +58,7 @@ class ShipyardShellWrapper: result = await self._shell.exec( run_command, - timeout=timeout, + timeout=timeout or 10_000_000, cwd=cwd, ) payload = _maybe_model_dump(result) diff --git a/astrbot/core/computer/booters/shipyard_neo.py b/astrbot/core/computer/booters/shipyard_neo.py index b141f918a..4926cd742 100644 --- a/astrbot/core/computer/booters/shipyard_neo.py +++ b/astrbot/core/computer/booters/shipyard_neo.py @@ -122,7 +122,7 @@ class NeoShellComponent(ShellComponent): result = await self._sandbox.shell.exec( run_command, - timeout=timeout, + timeout=timeout or 10_000_000, cwd=cwd, ) payload = _maybe_model_dump(result)