fix: set idle timeout to 255 seconds in MCP server to prevent premature shutdown

This commit is contained in:
old4ever committed 2026-01-23 13:59:28 -05:00
1 parent 8b0a65860c
commit 72525609ed
1 file changed
+1 -1
+1 -1
View File
@@ -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(