avalanche-ops icon indicating copy to clipboard operation
avalanche-ops copied to clipboard

Consolidate random backoff implementations

Open exdx opened this issue 1 year ago • 0 comments

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 avatar Jun 26 '23 15:06 exdx