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

Retry strategy for service unavailable #1154

Open
insipx opened this issue Oct 18, 2024 · 0 comments · May be fixed by #1163
Open

Retry strategy for service unavailable #1154

insipx opened this issue Oct 18, 2024 · 0 comments · May be fixed by #1163

Comments

@insipx
Copy link
Contributor

insipx commented Oct 18, 2024

By adding better context to our gprc/network subscriptions, we can create a better retry strategy for reconnecting dead grpc streams, specifically by using the tonic https://docs.rs/tonic/latest/tonic/enum.Code.html Unvailable error code, which would be returned if a stream is suddenly disconnected because of a network upgrade for instance.

rel #953

@insipx insipx added this to libxmtp Oct 18, 2024
@insipx insipx converted this from a draft issue Oct 18, 2024
@insipx insipx linked a pull request Oct 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant