起草轮询窗口放到 15 分钟

实测 10 轮起草要 7 分钟,10 分钟窗口在慢一点的环境里会提前报超时。
This commit is contained in:
ThearchyHelios
2026-11-04 09:37:20 +08:00
parent 939f0f3448
commit 0d5f9609e7
+1 -1
View File
@@ -35,7 +35,7 @@ const FILTERS: Filter[] = ['', 'drafting', 'ready', 'questions_open', 'path_pend
/** 起草轮询:每两秒一次,多轮续跑要几分钟,最多等十分钟 */
const DRAFT_POLL_MS = 2_000
const DRAFT_POLL_LIMIT_MS = 10 * 60_000
const DRAFT_POLL_LIMIT_MS = 15 * 60_000
/** 状态标签:起草中 / 待签字发布 / 待确认问题 / 待接数据路径 / 已接上 / 已驳回 / 起草失败 */
function StatusPill({ status }: { status: CaliberDraftStatus }) {