forked from spring-projects/spring-retry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spring-projectsGH-126: ExpRandomBackOffPolicy: fix maxInterval
Fixes spring-projects#126 The `ExponentialRandomBackOffPolicy` doesn't take into account a `maxInterval` for the next `sleep` causing a very long sleep problem eventually * Fallback to `super.getMaxInterval()` when `next` from random is too big * Fix JavaDocs for ranges * Add test for `maxInterval`
- Loading branch information
1 parent
5a1a3bf
commit ff4535f
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters