Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket connection remains indefinitely in :connecting state and causes TimeoutError #329

Merged
merged 1 commit into from
Jan 22, 2023
Merged

Websocket connection remains indefinitely in :connecting state and causes TimeoutError #329

merged 1 commit into from
Jan 22, 2023

Conversation

francisbeaudoin
Copy link
Contributor

@francisbeaudoin francisbeaudoin commented Jan 20, 2023

Issue

Within a test run, we're intermittently get a TimeoutError.

Root cause

It is caused by the Websocket that remains in a :connecting state - that behavior is also discussed in rubycdp/cuprite#36

Proposed fix

By bumping the sleep to 0.05 we're no longer getting the issue but that is probably not ideal. In full transparency, I haven't tried any lower sleep time as I think the performance hit is fine.

@route route merged commit d141613 into rubycdp:main Jan 22, 2023
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