{"action":"created","issue":{"url":"https://api.github.com/repos/manheim/cf_deployer/issues/20","labels_url":"https://api.github.com/repos/manheim/cf_deployer/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/manheim/cf_deployer/issues/20/comments","events_url":"https://api.github.com/repos/manheim/cf_deployer/issues/20/events","html_url":"https://github.com/manheim/cf_deployer/issues/20","id":96883671,"number":20,"title":"AWS-SDK request throttling","user":{"login":"kmanning","id":1686022,"avatar_url":"https://avatars.githubusercontent.com/u/1686022?v=3","gravatar_id":"","url":"https://api.github.com/users/kmanning","html_url":"https://github.com/kmanning","followers_url":"https://api.github.com/users/kmanning/followers","following_url":"https://api.github.com/users/kmanning/following{/other_user}","gists_url":"https://api.github.com/users/kmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/kmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmanning/subscriptions","organizations_url":"https://api.github.com/users/kmanning/orgs","repos_url":"https://api.github.com/users/kmanning/repos","events_url":"https://api.github.com/users/kmanning/events{/privacy}","received_events_url":"https://api.github.com/users/kmanning/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/manheim/cf_deployer/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/manheim/cf_deployer/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-23T19:01:02Z","updated_at":"2015-10-19T02:14:49Z","closed_at":"2015-10-19T02:14:49Z","body":"If you enable debugging, you can see that we make a large number of duplicate requests to the AWS-SDK.  Calls to the AWS-SDK can fail, and the gem provides an automated exponential retry for failed requests.  If the maximum number of retries is exceeded, cf_deployer can fail in the middle of a deployment.\r\n\r\nThere are a couple of options here:\r\n    - Make retries configurable\r\n    - reduce the number of aws-sdk calls, through refactoring, or the use of AWS.memoize\r\n    - replace aws-sdk-v1 with aws-sdk-v2"},"comment":{"url":"https://api.github.com/repos/manheim/cf_deployer/issues/comments/149078782","html_url":"https://github.com/manheim/cf_deployer/issues/20#issuecomment-149078782","issue_url":"https://api.github.com/repos/manheim/cf_deployer/issues/20","id":149078782,"user":{"login":"kmanning","id":1686022,"avatar_url":"https://avatars.githubusercontent.com/u/1686022?v=3","gravatar_id":"","url":"https://api.github.com/users/kmanning","html_url":"https://github.com/kmanning","followers_url":"https://api.github.com/users/kmanning/followers","following_url":"https://api.github.com/users/kmanning/following{/other_user}","gists_url":"https://api.github.com/users/kmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/kmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmanning/subscriptions","organizations_url":"https://api.github.com/users/kmanning/orgs","repos_url":"https://api.github.com/users/kmanning/repos","events_url":"https://api.github.com/users/kmanning/events{/privacy}","received_events_url":"https://api.github.com/users/kmanning/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T02:14:49Z","updated_at":"2015-10-19T02:14:49Z","body":"Increased retries - https://github.com/manheim/cf_deployer/commit/8563ae6a3cfce5d2101ffaa8a40347b3f12b519d\r\nClosing out this issue."}}