We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I wrote this, and I don't think it even does what I mean, certainly doesn't seem like it's the same as calling exponential().attempts(...)
exponential().attempts(...)
const attempts = retryAttempts ?? this.props.retryAttempts const backoff = this.exponentialBackoff ? new ExponentialBackoff({ maxAttempts: attempts, }) : new ConstantBackoff(5, attempts) // for testing const retryPolicy = Policy.handleAll().retry().backoff(backoff).attempts(attempts)
I feel like this would be an improvement
Policy.handleAll().retry().backoffStrategy(BackoffStrategyType.EXPONENTIAL).attempts(5)
The text was updated successfully, but these errors were encountered:
dfdc25f
No branches or pull requests
I wrote this, and I don't think it even does what I mean, certainly doesn't seem like it's the same as calling
exponential().attempts(...)
I feel like this would be an improvement
The text was updated successfully, but these errors were encountered: