Skip to content

fix(ws): raise default connectionTimeout to 10s - #22

Merged
tiagosiebler merged 1 commit into
sieblyio:mainfrom
harbourlark:fix/ws-connection-timeout-10s
Nov 30, 2026
Merged

tiagosiebler merged 1 commit into
sieblyio:mainfrom
harbourlark:fix/ws-connection-timeout-10s

Conversation

@harbourlark

Copy link
Copy Markdown
Contributor

The default WebSocket connectionTimeout is 1,000 ms, which is too short for some cold connections (the first subscribe or WS API call can fail with a connection timeout). This raises the default to 10,000 ms, matching requestTimeoutMs.

JSDoc, README, llms.txt and the quickstart are updated to match. Existing unit tests already pass an explicit short connectionTimeout, so they are unchanged.

The previous 1,000 ms default is too short for some cold connections.
This uses 10,000 ms, matching requestTimeoutMs. Docs and JSDoc are
updated to match.

@tiagosiebler tiagosiebler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tiagosiebler
tiagosiebler merged commit 9311280 into sieblyio:main Nov 30, 2026
1 check failed
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.

2 participants