Skip to content

Commit 8d2ee6b

Browse files
committed
fix(core): keep experimental.mcp_timeout off the startup budget
1 parent 959d824 commit 8d2ee6b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/core/src/config/normalize.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ function normalizeMcp(input: Record<string, unknown>, encoded: Record<string, un
257257
["experimental", "mcp_timeout"],
258258
diagnostics,
259259
)
260+
// V1 never applied this to connecting, unlike a per-server timeout.
260261
if (value !== undefined) {
261-
timeout.startup = value
262262
timeout.catalog = value
263263
timeout.execution = value
264264
}

‎packages/core/test/config/config.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1817,7 +1817,7 @@ describe("Config", () => {
18171817
buffer: 10000,
18181818
})
18191819
expect(documents[0]?.info.mcp).toMatchObject({
1820-
timeout: { startup: 5000, catalog: 5000, execution: 5000 },
1820+
timeout: { catalog: 5000, execution: 5000 },
18211821
servers: {
18221822
local: {
18231823
type: "local",

0 commit comments

Comments
 (0)