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

Refactor WSBackend for connection management #49

Merged
merged 1 commit into from
May 18, 2024

Conversation

ksysoev
Copy link
Owner

@ksysoev ksysoev commented May 18, 2024

This pull request refactors the WSBackend code to add the singleflight.Group for connection management. It improves the efficiency of establishing new connections and ensures that only one request is sent for each connection.

@ksysoev ksysoev merged commit dc190b1 into main May 18, 2024
1 check passed
@ksysoev ksysoev deleted the fix_duplicate_conn_openning branch May 18, 2024 12:06
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.

1 participant