docs(agent-loop): correct default timeoutSeconds from 600s to 172800s (48h) (#55419)

* docs(agent-loop): correct default timeoutSeconds from 600s to 172800s (48h)

The default was raised to 48 hours in PR #51874 (merged 2026-03-21) to
avoid cutting off long-running ACP sessions, but the docs were not
updated at the time. Closes #55380.

* docs: remove 'Use 0 to disable' per aisle security review
This commit is contained in:
Byungsker
2026-03-28 04:31:24 +09:00
committed by GitHub
parent 16ed9bf147
commit 1dae6cc617
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ See [Plugin hooks](/plugins/architecture#provider-runtime-hooks) for the hook AP
## Timeouts
- `agent.wait` default: 30s (just the wait). `timeoutMs` param overrides.
- Agent runtime: `agents.defaults.timeoutSeconds` default 600s; enforced in `runEmbeddedPiAgent` abort timer.
- Agent runtime: `agents.defaults.timeoutSeconds` default 172800s (48 hours); enforced in `runEmbeddedPiAgent` abort timer.
## Where things can end early

View File

@@ -136,7 +136,7 @@ OpenClaw 有两个钩子系统:
## 超时
- `agent.wait` 默认30 秒(仅等待)。`timeoutMs` 参数可覆盖。
- 智能体运行时:`agents.defaults.timeoutSeconds` 默认 600 秒;在 `runEmbeddedPiAgent` 中止计时器中强制执行。
- 智能体运行时:`agents.defaults.timeoutSeconds` 默认 172800 秒48 小时);在 `runEmbeddedPiAgent` 中止计时器中强制执行。使用 `0` 可完全禁用超时。
## 可能提前结束的情况