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

client/comms,binance: Update ws connection URL #3016

Closed
wants to merge 1 commit into from

Conversation

martonp
Copy link
Collaborator

@martonp martonp commented Oct 11, 2024

This updates the ws connection interface to allow for updating of the URL. This is useful for the connection to Binance. If additional markets are subscribed after the initial connection to the market streams API, in the event of an error, the websocket connection will reconnect using the initial URL, and the additional markets will only be resubscribed after a list subscriptions check is done. With this change, all the markets will be subscribed during a reconnection.

This updates the ws connection interface to allow for updating of the URL.
This is useful for the connection to Binance. If additional markets are
subscribed after the initial connection to the market streams API,
in the event of an error, the websocket connection will reconnect using
the initial URL, and the additional markets will only be resubscribed after
a list subscriptions check is done. With this change, all the markets will
be subscribed during a reconnection.
@martonp
Copy link
Collaborator Author

martonp commented Oct 11, 2024

Just saw #3015

@martonp martonp closed this Oct 11, 2024
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