Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Flatten RetryParams by removing BackoffParams layer. #44

Merged
merged 1 commit into from
Mar 30, 2016

Conversation

shinfan
Copy link
Contributor

@shinfan shinfan commented Mar 30, 2016

No description provided.

@@ -72,6 +83,17 @@ public RetryParams build() {
if (params.getTotalTimeout().getMillis() < 0) {
throw new IllegalStateException("total timeout must not be negative");
}
if (params.getInitialRetryDelay().getMillis() < 0 ||
params.getInitialRpcTimeout().getMillis() < 0) {
throw new IllegalStateException("initial time must not be negative");

This comment was marked as spam.

@shinfan
Copy link
Contributor Author

shinfan commented Mar 30, 2016

PTAL. I think the travis CI failed because we haven't set it up for GAX.

@garrettjonesgoogle
Copy link
Member

Yeah ignore the Travis failure for now, I just barely turned it on. LGTM.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants