refactor(qqbot): hide response timeout default · openclaw/openclaw@4681a55
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
File tree
extensions/qqbot/src/engine/gateway
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | // Qqbot tests cover response timeout plugin behavior. |
2 | 2 | import { MAX_TIMER_TIMEOUT_MS } from "openclaw/plugin-sdk/number-runtime"; |
3 | 3 | import { describe, expect, it } from "vitest"; |
4 | | -import { DEFAULT_RESPONSE_TIMEOUT_MS, resolveResponseTimeoutMs } from "./response-timeout.js"; |
| 4 | +import { resolveResponseTimeoutMs } from "./response-timeout.js"; |
| 5 | + |
| 6 | +const DEFAULT_RESPONSE_TIMEOUT_MS = 300_000; |
5 | 7 | |
6 | 8 | describe("resolveResponseTimeoutMs", () => { |
7 | 9 | it("falls back to the historical 5-minute floor when no timeouts configured", () => { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -35,7 +35,7 @@ import {
|
35 | 35 | * present. Preserves the historical 5-minute guard for unconfigured |
36 | 36 | * deployments. |
37 | 37 | */ |
38 | | -export const DEFAULT_RESPONSE_TIMEOUT_MS = 300_000; |
| 38 | +const DEFAULT_RESPONSE_TIMEOUT_MS = 300_000; |
39 | 39 | |
40 | 40 | interface AgentsDefaultsLike { |
41 | 41 | timeoutSeconds?: unknown; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。