File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { dummyLogger, type Logger } from "ts-log";
55import { ResilientWebSocket } from "./resilient-web-socket.js" ;
66import type { Request , Response } from "../protocol.js" ;
77
8- // Maintains multiple redundant WebSocket connections for reliability
8+ // Number of redundant parallel WebSocket connections
99const DEFAULT_NUM_CONNECTIONS = 3 ;
1010
1111export class WebSocketPool {
@@ -15,7 +15,7 @@ export class WebSocketPool {
1515 private messageListeners : ( ( event : WebSocket . Data ) => void ) [ ] ;
1616
1717 /**
18- * Creates a new WebSocketPool instance that maintains multiple redundant WebSocket connections for reliability.
18+ * Creates a new WebSocketPool instance that uses multiple redundant WebSocket connections for reliability.
1919 * Usage semantics are similar to using a regular WebSocket client.
2020 * @param urls - List of WebSocket URLs to connect to
2121 * @param token - Authentication token to use for the connections
You can’t perform that action at this time.
0 commit comments