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

remove hibernation logic #1136

Merged
merged 1 commit into from
Dec 2, 2024
Merged

remove hibernation logic #1136

merged 1 commit into from
Dec 2, 2024

Conversation

JssDWt
Copy link
Contributor

@JssDWt JssDWt commented Dec 2, 2024

The reconnect after hibernation does not fix the root cause of errors originating from lost grpc connections after hibernation. When the app comes back from hibernation, any already outgoing grpc request will fail with a transport error. The only way to get around that is by retrying the request. Also, grpc connections are automatically reestablished after such a failure occurs. If the grpc client gets a timeout or broken connection failure on one request, the next request will succeed with a fresh underlying connection.

retrying requests is implemented in #1133

The reconnect after hibernation does not fix the root cause of errors
originating from lost grpc connections after hibernation. When the app
comes back from hibernation, any already outgoing grpc request will fail
with a transport error. The only way to get around that is by retrying
the request. Also, grpc connections are automatically reestablished
after such a failure occurs. If the grpc client gets a timeout or broken
connection failure on one request, the next request will succeed with a
fresh underlying connection.
@JssDWt JssDWt requested review from dangeross and roeierez December 2, 2024 09:01
Copy link
Member

@roeierez roeierez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JssDWt JssDWt merged commit f7518ea into main Dec 2, 2024
9 checks 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.

3 participants