rapid7 / builderator

Tools to make CI Packer builds awesome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduce exponential back off for rate-limited API calls

dgreene-r7 opened this issue · comments

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.

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

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