Skip to content

Commit

Permalink
increase suspended retries
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Nov 11, 2021
1 parent d592660 commit 97ccba0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private List<RetryRule> createRules() {
};
final RetryRule fatalRetryRule = RetryRule.of(isFatal, RetryAction.ofShutdownServiceAndSendLatestException());
final RetryRule retryScheduledRetryRule = RetryRule.of(RetryPredicate.ofAlwaysTrue(), RetryAction.ofScheduledRetry(2, retryContext -> Duration.ofMillis(retryContext.getAttempt() * retryContext.getAttempt() * 50)));
final RetryRule suspendedRetryRule = RetryRule.of(isSuspended, RetryAction.ofExponentialBackoff(10, 1000, 15000));
final RetryRule suspendedRetryRule = RetryRule.of(isSuspended, RetryAction.ofExponentialBackoff(100, 1000, 60000));
return asList(suspendedRetryRule, fatalRetryRule, retryScheduledRetryRule);
}

Expand Down

0 comments on commit 97ccba0

Please sign in to comment.