Skip to content

Disable BackendTrafficPolicy timeout for SSE connections#523

Merged
teemow merged 2 commits intomainfrom
fix-backend-traffic-policy-timeout
Mar 18, 2026
Merged

Disable BackendTrafficPolicy timeout for SSE connections#523
teemow merged 2 commits intomainfrom
fix-backend-traffic-policy-timeout

Conversation

@teemow
Copy link
Member

@teemow teemow commented Mar 18, 2026

Summary

  • Changes the default backendTrafficPolicy.timeout from "300s" to "0s" (disabled)
  • A 300s timeout still kills SSE/streaming connections after 5 minutes; "0s" disables the timeout entirely, which is correct for long-lived MCP SSE connections

Companion PRs:

Test plan

  • helm template renders requestTimeout: "0s" correctly
  • Deploy to a cluster with Envoy Gateway and verify SSE connections are no longer killed

Change the default requestTimeout from "300s" to "0s" (disabled) to
prevent Envoy Gateway from killing long-lived SSE/streaming connections
used by the MCP protocol.

Made-with: Cursor
@teemow teemow merged commit b96bcc9 into main Mar 18, 2026
6 of 7 checks passed
@teemow teemow deleted the fix-backend-traffic-policy-timeout branch March 18, 2026 12:23
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.

1 participant