rapid7 / builderator

Tools to make CI Packer builds awesome
MIT License
23 stars 9 forks source link

Introduce exponential back off for rate-limited API calls #117

Closed dgreene-r7 closed 7 years ago

dgreene-r7 commented 7 years ago

Builderator can fail builds if it receives a rate-limited exception while checking an AMI's copy status. We need to catch these exceptions and follow Amazon's recommendation of introducing exponential back off before retrying.

athompson-r7 commented 7 years ago

@dgreene-r7 Backoff on describe_images was added in #107, are there more apis that need this?

dgreene-r7 commented 7 years ago

Nope! We just need to update the version our jobs are using. Derp!