Skip to content

Commit 764727e

Browse files
author
小龙女
committed
docs: 補充 openfeedback timeout 配置說明(本地版 vs upstream 區分)
1 parent cbc16f3 commit 764727e

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

usecases/approval-first-workflow.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,18 @@ trusted_user_ids = [<YOUR_CHAT_ID>] # 只允許你自己審批
161161
default_timeout = 60 # 超時視為拒絕(安全預設)
162162
```
163163

164+
> **Timeout 配置說明**
165+
>
166+
> `default_timeout` 是本地自訂版本的配置項。若使用 upstream 版本(`cargo install --git ...`),目前主審批流程的 timeout 無法透過 config 直接設定,建議在腳本層控制:
167+
>
168+
> ```bash
169+
> # 對不可逆操作,透過 --timeout 延長等待時間(若 CLI 支援)
170+
> # 或將任務排在有人值守時段,避免因超時導致中止
171+
> openfeedback --timeout 300 "準備 git push origin main ..."
172+
> ```
173+
>
174+
> v0.2.0 新增的 `reject_feedback_timeout` 是「拒絕後等待理由」的時間窗,與主審批 timeout 是不同的配置。
175+
164176
詳細安裝請見 [openfeedback README](https://github.com/antx-code/openfeedback)。
165177

166178
---

0 commit comments

Comments
 (0)