-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add-max-retry-property-support #2062
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
add-max-retry-property-support #2062
Conversation
Changes Unknown when pulling 779f526 on AntonZarutsky:add-max-retry-property-support into ** on GoogleCloudPlatform:master**. |
Changes Unknown when pulling 779f526 on AntonZarutsky:add-max-retry-property-support into ** on GoogleCloudPlatform:master**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this! Some style comments, but otherwise LGTM.
@@ -343,6 +420,8 @@ public void testPublishFailureRetries_nonRetryableFailsImmediately() throws Exce | |||
} | |||
} | |||
|
|||
|
|||
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
import io.grpc.ManagedChannel; | ||
import io.grpc.Status; | ||
import org.threeten.bp.Duration; | ||
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Changes Unknown when pulling 00582b8 on AntonZarutsky:add-max-retry-property-support into ** on GoogleCloudPlatform:master**. |
Changes Unknown when pulling 49b4e32 on AntonZarutsky:add-max-retry-property-support into ** on GoogleCloudPlatform:master**. |
Changes Unknown when pulling 49b4e32 on AntonZarutsky:add-max-retry-property-support into ** on GoogleCloudPlatform:master**. |
RetrySettings contain property
maxAttempt
which is not used by Publisher.Added support for maxAttempt, which gives developer control a bit more over retries.