Skip to content

Resovled issue #156#162

Open
julied02 wants to merge 1 commit intomcpjungle:mainfrom
julied02:increase-default-init-request-timeout
Open

Resovled issue #156#162
julied02 wants to merge 1 commit intomcpjungle:mainfrom
julied02:increase-default-init-request-timeout

Conversation

@julied02
Copy link

updated default init request timeout to 30 seconds and changed corresponding messages and comments

" check mcpungle server logs for any errors from this MCP server",
" check mcpungle server logs for any errors from this MCP server"+
" update the MCP_SERVER_INIT_REQ_TIMEOUT_SEC env var to change the timeout,"+
" default is 30 seconds",
Copy link
Member

@duaraghav8 duaraghav8 Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than hard-coding the value of 30 here, we should read it from the constant declared so that it acts as the source of truth.
I recommend that you move the McpServerInitRequestTimeoutSecondsDefault = 30 const declaration inside pkg/types/mcp_server.go file. This package contains all definitions that are shared between the CLI & server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants