fix: set idle timeout to 255 seconds in MCP server to prevent premature shutdown
This commit is contained in:
@@ -5,7 +5,7 @@ const PORT = process.env.MCP_PORT || 4006;
|
||||
|
||||
const server = Bun.serve({
|
||||
port: PORT as number | string,
|
||||
idleTimeout: 0,
|
||||
idleTimeout: 255, // 255 seconds (max allowed)
|
||||
routes: {
|
||||
// MCP metadata discovery endpoint
|
||||
"/.well-known/mcp/server-card.json": new Response(
|
||||
|
||||
Reference in New Issue
Block a user