Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
rewording
  • Loading branch information
julienrbrt committed Mar 30, 2026
commit 102f2975d1d92979b6cb142340f8a6f058371c43
2 changes: 1 addition & 1 deletion pkg/da/jsonrpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func NewClient(ctx context.Context, addr, token string, authHeaderName string) (
// Automatically converts http:// to ws:// (and https:// to wss://).
// Supports channel-based subscriptions (e.g. Subscribe).
// Note: WebSocket connections are eager — they connect at creation time
// if it fails, we fallback to non websocket connection for the whole runtime process.
// if the initial WS dial fails, falls back to HTTP polling for the entire session.
func NewWSClient(ctx context.Context, logger zerolog.Logger, addr, token string, authHeaderName string) (*Client, error) {
client, err := NewClient(ctx, httpToWS(addr), token, authHeaderName)
if err != nil {
Expand Down
Loading