Skip to content

Commit

Permalink
[ISSUE apache#3949] doc
Browse files Browse the repository at this point in the history
  • Loading branch information
xdkxlk committed Jul 19, 2022
1 parent 6bcda57 commit 77df4ce
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
import com.google.common.base.MoreObjects;
import java.util.concurrent.TimeUnit;

/**
* next delay time = min(max, initial * multiplier^reconsumeTimes)
*/
public class ExponentialRetryPolicy implements RetryPolicy {
private long initial = TimeUnit.SECONDS.toMillis(5);
private long max = TimeUnit.HOURS.toMillis(2);
Expand Down

0 comments on commit 77df4ce

Please sign in to comment.