Skip to content

Commit 102f297

Browse files
committed
rewording
1 parent 53ec7cb commit 102f297

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/da/jsonrpc/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func NewClient(ctx context.Context, addr, token string, authHeaderName string) (
7373
// Automatically converts http:// to ws:// (and https:// to wss://).
7474
// Supports channel-based subscriptions (e.g. Subscribe).
7575
// Note: WebSocket connections are eager — they connect at creation time
76-
// if it fails, we fallback to non websocket connection for the whole runtime process.
76+
// if the initial WS dial fails, falls back to HTTP polling for the entire session.
7777
func NewWSClient(ctx context.Context, logger zerolog.Logger, addr, token string, authHeaderName string) (*Client, error) {
7878
client, err := NewClient(ctx, httpToWS(addr), token, authHeaderName)
7979
if err != nil {

0 commit comments

Comments
 (0)