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

Networking: use event_handler cache to (re-)dial disconnected or connection-error node addresses #400

Closed
Tracked by #331
zeeshanlakhani opened this issue Oct 29, 2023 · 0 comments · Fixed by #529
Assignees
Labels
networking Features, functionality involving networking

Comments

@zeeshanlakhani
Copy link
Contributor

Summary

Now that we have a mechanism to trigger events related to peer and swarm information within an event cache (which was added in #399), we should re-dial disconnected, trusted node_addresses and those that have initial connection errors.

Solution

Leverage our event cache in #399 to insert disconnected/error'ed connection node_addresses and return to them at an interval (leveraging expiry) to re-dial or reconnect.

ETA: 2023-12-20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
networking Features, functionality involving networking
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants