-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RetryingHttpRequesterFilter
: rename ofImmediate
to `ofImmediateWi…
…thDefaultLimit` Motivation: It's not obvious for users that `BackOffPolicy.ofImmediate()` retries only 3 times. Modifications: - Deprecated `BackOffPolicy.ofImmediate()`; - Introduce `BackOffPolicy.ofImmediateWithDefaultLimit()` that behaves the same way; - Cache the returning value for `BackOffPolicy.ofImmediateWithDefaultLimit()`; Result: Easier for users to understand that immediate `BackOffPolicy` has a limit for number of retries.
- Loading branch information
1 parent
d5918cc
commit a3c7e6b
Showing
2 changed files
with
24 additions
and
9 deletions.
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