Skip to content
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

Allow retry options in lib state #216

Open
duynguyen opened this issue Jan 24, 2025 · 1 comment
Open

Allow retry options in lib state #216

duynguyen opened this issue Jan 24, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@duynguyen
Copy link
Contributor

Currently lib state is using the default retry options from HttpExponentialBackoff.

The third parameter here could be retryOptions to allow configurable retry options:

const promise = this.fetchRetry.exponentialBackoff(url, requestOptions)

To support it:

  • state needs to have another parameter in the constructor for retryOptions, or a setRetryOptions method
  • pass in the saved retryOptions to the above line linked above
@shazron shazron added the enhancement New feature or request label Jan 24, 2025
@aiojbot
Copy link
Collaborator

aiojbot commented Jan 24, 2025

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-3488

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants