This commit is contained in:
Andras Schmelczer 2025-11-23 20:27:16 +00:00
commit 18be9f4dd8

View file

@ -6,6 +6,7 @@ export function slowWebSocketFactory(
jitterScaleInSeconds: number,
logger: Logger
): typeof WebSocket {
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
return class FlakyWebSocket extends WebSocket {
private static readonly RECEIVE_KEY = "websocket-receive";
private static readonly SEND_KEY = "websocket-send";