Repository navigation
feat: 将服务器连接超时从 8s 增加到 20s - #21
Merged
Merged
Conversation
某些 MCP 服务器启动较慢(如 alibaba-dms),8 秒超时不够用。 现在增加到 20 秒,提高连接成功率。 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 添加 `-c, --connection-timeout <seconds>` 参数 - 默认值为 20 秒 - 支持通过命令行参数或环境变量 MCPS_CONNECTION_TIMEOUT 配置 - 单位为秒,与 --timeout 参数保持一致 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
某些 MCP 服务器启动较慢(如 alibaba-dms),8 秒超时不够用。现在增加到 20 秒,提高连接成功率。
主要变更
initializeAll()中的连接超时从 8000ms 增加到 20000ms测试计划
🤖 Generated with Claude Code