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

tweak: Recover from any panics in trace streams. #149

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Conversation

tyler-smith
Copy link

This will ensure that panics in the tracer/decoder don't cause the entire node to restart. But no notification of the failure is indicated to the client, so it will simply stop seeing messages until it times out and reconnects on its own. A future improvement would be one of either sending the client a message telling it to reconnect or attempting to reconstruct a new go-routine transparently.

@tyler-smith tyler-smith merged commit 6a123e6 into main Nov 6, 2023
1 check passed
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