Skip to content

Commit dc8a145

Browse files
committed
doc: fix comment
1 parent 9f1da48 commit dc8a145

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lazer/sdk/js/src/socket/web-socket-pool.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { dummyLogger, type Logger } from "ts-log";
55
import { ResilientWebSocket } from "./resilient-web-socket.js";
66
import type { Request, Response } from "../protocol.js";
77

8-
// Maintains multiple redundant WebSocket connections for reliability
8+
// Number of redundant parallel WebSocket connections
99
const DEFAULT_NUM_CONNECTIONS = 3;
1010

1111
export 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

0 commit comments

Comments
 (0)