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

feat: add option for more graceful request failures #28

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

savonarola
Copy link

@savonarola savonarola commented Nov 13, 2023

grpc_client:unary(...), grpc_client:send(...), grpc_client:recv(...) exit if the called process exits (like gen_server:call). This is not always required, so we add an option which makes the client raise an error instead of exit.

src/client/grpc_client.erl Outdated Show resolved Hide resolved
src/client/grpc_client.erl Show resolved Hide resolved
@savonarola savonarola force-pushed the 1113-no-exit branch 5 times, most recently from d5c8817 to e0e2093 Compare November 13, 2023 21:09
@savonarola savonarola merged commit a22531c into emqx:master Nov 13, 2023
10 checks passed
@savonarola savonarola deleted the 1113-no-exit branch November 13, 2023 22:01
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.

2 participants