You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(api): add connection-aware readiness probe for SSE
When SSE connections reach the configured threshold (default 95% of
--sse-max-connections), the readiness probe returns 503. This removes
the pod from Kubernetes Endpoints and GCLB NEG, preventing new
connections from being routed to saturated pods while keeping existing
SSE connections alive.
The Envoy sidecar circuit breaker is ineffective for SSE over HTTP/2
because multiplexed streams are not counted as active TCP connections
or requests. This readiness check bypasses Envoy and reads the
Dispatcher's connection count directly.
Closes#2786
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments