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

hrana: reconnect on broken connections #17

Open
psarna opened this issue Apr 28, 2023 · 0 comments
Open

hrana: reconnect on broken connections #17

psarna opened this issue Apr 28, 2023 · 0 comments
Assignees

Comments

@psarna
Copy link
Contributor

psarna commented Apr 28, 2023

Hrana backend potentially serves long-standing connections, so it should try to reconnect automatically once the TCP connectoin gets broken. While at it, we should also follow libsql-client-ts in the implementation, where each batch is called in a separate Hrana stream. libsql-client-rs implements only a single stream per Client, which makes it not only limited, but also harder to introduce auto-reconnect properly

@psarna psarna self-assigned this Apr 28, 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

No branches or pull requests

1 participant