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

Consolidate random backoff implementations #395

Open
exdx opened this issue Jun 26, 2023 · 0 comments
Open

Consolidate random backoff implementations #395

exdx opened this issue Jun 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@exdx
Copy link
Contributor

exdx commented Jun 26, 2023

Currently in avalancheup-aws apply and in various other commands there are places were retries need to be done (for polling the AWS APIs for example). Instead of implementing retries on a one-off basis we could try to use the backoff crate to provide a unified approach to randomly retrying actions. This crate also provides terminal versus transient errors which are useful primitives to build with as well.

@exdx exdx added the enhancement New feature or request label Jun 26, 2023
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

1 participant