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

Automatically try re-establishing connection if socket is closed #271

Closed
matthme opened this issue Aug 27, 2024 · 1 comment
Closed

Automatically try re-establishing connection if socket is closed #271

matthme opened this issue Aug 27, 2024 · 1 comment

Comments

@matthme
Copy link
Contributor

matthme commented Aug 27, 2024

If sockets close, e.g. due to sleep mode of one's laptop, it would be nice if the js-client would automatically attempt to re-establish the connection with the connection options as supplied for the initial connection before throwing an Error: Socket is not open.

Apparently this logic was already implemented at some point but got removed a while ago.

@matthme matthme changed the title Automatically try resetablishing connection if socket is closed Automatically try re-establishing connection if socket is closed Aug 27, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Holochain Oct 14, 2024
@jost-s
Copy link
Contributor

jost-s commented Nov 12, 2024

fixed by #193

@jost-s jost-s closed this as completed Nov 12, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Holochain Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants