intuit / intuit/simple_deploy

Catch Rate Exceeded errors and sleep

Open
#159 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Ruby
Stars
63
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Cloud Formation has a very sensitive rate limit for their API. We should not fail a build, but sleep and exponentially backoff when these errors are hit:

2013-02-18 08:39:34 -0800 ERROR : Rate exceeded
/Users/bweaver/.rvm/gems/ruby-1.9.3-p327@simple_deploy/gems/stackster-0.4.1/lib/stackster/aws/cloud_formation/error.rb:25:in `block in process': Rate e
xceeded (Stackster::Exceptions::CloudFormationError)
from /Users/bweaver/.rvm/gems/ruby-1.9.3-p327@simple_deploy/gems/stackster-0.4.1/lib/stackster/aws/cloud_formation/error.rb:16:in`each'
from /Users/bweaver/.rvm/gems/ruby-1.9.3-p327@simple_deploy/gems/stackster-0.4.1/lib/stackster/aws/cloud_formation/error.rb:16:in `process' from /Users/bweaver/.rvm/gems/ruby-1.9.3-p327@simple_deploy/gems/stackster-0.4.1/lib/stackster/aws/cloud_formation.rb:45:in`rescue in describe
_stack'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.