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

fix: do not open a new ws connection if already existing #1497

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

janrnc
Copy link
Contributor

@janrnc janrnc commented Nov 10, 2023

Hello @arlac77,
I've noticed that a new ws connection is opened on every subscription. This seems to happen only when waiting some time between the subscriptions, otherwise the opening state check hides this behavior. It's probably a regression introduced in b9c4e06.

Does this make sense?

Copy link
Owner

@arlac77 arlac77 left a comment

Choose a reason for hiding this comment

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

@arlac77 arlac77 merged commit 9279edc into arlac77:master Nov 11, 2023
4 of 6 checks passed
@janrnc janrnc deleted the fix/use-existing-connection branch November 11, 2023 13:30
Copy link

🎉 This PR is included in version 1.1.34 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants