avalanche-ops
avalanche-ops copied to clipboard
Consolidate random backoff implementations
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.