feat(shell): set default timeout for shell execution to 10,000,000 milliseconds

This commit is contained in:
Soulter
2026-04-27 22:05:47 +08:00
parent f1206d987b
commit d7a54aed76
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)