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: adds retry interceptor #223

Merged
merged 11 commits into from
Mar 3, 2023
Merged

feat: adds retry interceptor #223

merged 11 commits into from
Mar 3, 2023

Conversation

eaddingtonwhite
Copy link
Member

Closes #49

@eaddingtonwhite eaddingtonwhite marked this pull request as ready for review March 3, 2023 16:27
conn, err := grpc.Dial(
endpoint,
grpc.WithTransportCredentials(credentials.NewTLS(config)),
grpc.WithUnaryInterceptor(interceptor.AddUnaryRetryInterceptor(request.RetryStrategy)),
Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't look like the other SDKs add a retry interceptor to the control client. I'm not sure why that's the case but wanted to point it out in case it's significant.

pgautier404
pgautier404 previously approved these changes Mar 3, 2023
Copy link
Contributor

@pgautier404 pgautier404 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@pgautier404 pgautier404 left a comment

Choose a reason for hiding this comment

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

@eaddingtonwhite eaddingtonwhite merged commit 22e7d53 into main Mar 3, 2023
@eaddingtonwhite eaddingtonwhite deleted the feat/49 branch March 3, 2023 21:20
cprice404 pushed a commit that referenced this pull request Mar 14, 2023
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.

Implement Client Side Retries and add to config
2 participants