Skip to content

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

Merged
realfishsam merged 1 commit into
pmxt-dev:mainfrom
AbhilashG12:fix/ts-ws-connect-timeout
Jul 18, 2026
Merged

fix(typescript): add connection timeout and retry to WS client#1659
realfishsam merged 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
@realfishsam
realfishsam merged commit accd88f into pmxt-dev:main Jul 18, 2026
4 checks passed
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

2 participants