-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retry Policy with delay #115
Comments
Hi, I think there's no way to asynchronously wait a few seconds before retrying at the moment. This makes me think I should make |
So when can we have this feature available :) |
It should be available in beta.6, which is already in the automation pipeline as I'm writing this. |
It's now out 🎉 I'm closing this but feel free to comment if it does not work as you expected 😉 |
@all-contributors add @ntimesc for ideas |
I've put up a pull request to add @ntimesc! 🎉 |
Not sure, how to configure or implement Retry Policy with a delay. Currently, I am using RetryPolicy for refresh token but would like to extend its usage by handling the no internet connectivity retry and for that i am trying to capture the exception in this function
shouldAttemptRetryOnException
and returningtrue
. However, this function immediately tries 3 attempts back to back without any delay. So would like to know what how can I add a delay in between or is there anything inhttp_interceptor
to configure delays between requests.The text was updated successfully, but these errors were encountered: