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

feat: retain connection between client init and run #3767

Merged
merged 4 commits into from
Aug 17, 2023

Conversation

jstuczyn
Copy link
Contributor

@jstuczyn jstuczyn commented Aug 14, 2023

Description

If your client does something along the lines of "init and run", i.e. initialises gateway connection and starts sending traffic within the same command (like what our SDK or wasm clients are doing), this PR will make you retain the websocket you opened for the initialisation.

I need this functionality to make my nodejs build of the wasm client (#3558) work correctly as for some reason it really dislikes multiple websockets being opened in quick succession.

@jstuczyn jstuczyn requested a review from octol as a code owner August 14, 2023 14:36
@jstuczyn jstuczyn added this to the Milkybar milestone Aug 14, 2023
@jstuczyn jstuczyn changed the title Feature/init retain socket feat: retain connection between client init and run Aug 15, 2023
@jstuczyn jstuczyn self-assigned this Aug 15, 2023
@tommyv1987
Copy link
Contributor

LGTM

@tommyv1987 tommyv1987 merged commit 59a7034 into develop Aug 17, 2023
20 checks passed
@tommyv1987 tommyv1987 deleted the feature/init-retain-socket branch August 17, 2023 05:51
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.

None yet

3 participants