Skip to content

2.26: What replaces RetryPolicy.none()? #5287

Answered by sugmanue
henricook asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @henricook, the equivalent to RetryPolicy.none() is DefaultRetryStrategy.doNotRetry() see here, which is similar to what you have there. Notice also that using RetryPolicy.none() is, and will be for the foreseeable future, still supported.

Let us know if you have any other questions or concerns.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@henricook
Comment options

Answer selected by sugmanue
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants