Skip to content

fix(typescript): add connection timeout and retry to WS client#1659

Open
AbhilashG12 wants to merge 1 commit into
pmxt-dev:mainfrom
AbhilashG12:fix/ts-ws-connect-timeout
Open

fix(typescript): add connection timeout and retry to WS client#1659
AbhilashG12 wants to merge 1 commit into
pmxt-dev:mainfrom
AbhilashG12:fix/ts-ws-connect-timeout

Conversation

@AbhilashG12

Copy link
Copy Markdown
Contributor
  • Add 10-second timeout to WebSocket handshake (matching Python)
  • Add 3-attempt retry loop with exponential backoff (matching Python)
  • Prevents infinite hangs on stalled connections

Fixes #1497

- Add 10-second timeout to WebSocket handshake (matching Python)
- Add 3-attempt retry loop with exponential backoff (matching Python)
- Prevents infinite hangs on stalled connections

Fixes pmxt-dev#1497
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SDK drift: TypeScript WS client connection handshake has no timeout, unlike Python's bounded per-attempt timeout

1 participant