{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/chamber/issues/36","repository_url":"https://api.github.com/repos/segmentio/chamber","labels_url":"https://api.github.com/repos/segmentio/chamber/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/chamber/issues/36/comments","events_url":"https://api.github.com/repos/segmentio/chamber/issues/36/events","html_url":"https://github.com/segmentio/chamber/pull/36","id":264372815,"number":36,"title":"add --retries/-r root flag and configure the SSM client to retry","user":{"login":"toshok","id":24245,"avatar_url":"https://avatars1.githubusercontent.com/u/24245?v=4","gravatar_id":"","url":"https://api.github.com/users/toshok","html_url":"https://github.com/toshok","followers_url":"https://api.github.com/users/toshok/followers","following_url":"https://api.github.com/users/toshok/following{/other_user}","gists_url":"https://api.github.com/users/toshok/gists{/gist_id}","starred_url":"https://api.github.com/users/toshok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toshok/subscriptions","organizations_url":"https://api.github.com/users/toshok/orgs","repos_url":"https://api.github.com/users/toshok/repos","events_url":"https://api.github.com/users/toshok/events{/privacy}","received_events_url":"https://api.github.com/users/toshok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-10T20:54:56Z","updated_at":"2017-10-11T18:23:23Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/segmentio/chamber/pulls/36","html_url":"https://github.com/segmentio/chamber/pull/36","diff_url":"https://github.com/segmentio/chamber/pull/36.diff","patch_url":"https://github.com/segmentio/chamber/pull/36.patch"},"body":"we at honeycomb are running up against aws throttling DescribeParameter api calls (issue #34)\r\n\r\nThis diff adds a flag for max-retries (`--retries`/`-r`).  The default value is 10, which seems to fix things for 15 simultaneous runs of `while :; do chamber exec dev -- echo hi ; echo bye; done`.\r\n\r\nThe flag is attached to the `RootCmd`, so invoking it will look something like:\r\n\r\n```\r\n$ chamber --retries 100 exec something -- command\r\n$ chamber -r 100 exec something -- command\r\n```\r\n\r\n`numRetries` is passed to all `store.NewSSMStore` calls, which doesn't feel very golang-like.  Maybe I should add a `store.StoreConfig` struct?  Let me know!"},"comment":{"url":"https://api.github.com/repos/segmentio/chamber/issues/comments/335902861","html_url":"https://github.com/segmentio/chamber/pull/36#issuecomment-335902861","issue_url":"https://api.github.com/repos/segmentio/chamber/issues/36","id":335902861,"user":{"login":"dfuentes","id":388569,"avatar_url":"https://avatars2.githubusercontent.com/u/388569?v=4","gravatar_id":"","url":"https://api.github.com/users/dfuentes","html_url":"https://github.com/dfuentes","followers_url":"https://api.github.com/users/dfuentes/followers","following_url":"https://api.github.com/users/dfuentes/following{/other_user}","gists_url":"https://api.github.com/users/dfuentes/gists{/gist_id}","starred_url":"https://api.github.com/users/dfuentes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfuentes/subscriptions","organizations_url":"https://api.github.com/users/dfuentes/orgs","repos_url":"https://api.github.com/users/dfuentes/repos","events_url":"https://api.github.com/users/dfuentes/events{/privacy}","received_events_url":"https://api.github.com/users/dfuentes/received_events","type":"User","site_admin":false},"created_at":"2017-10-11T18:23:23Z","updated_at":"2017-10-11T18:23:23Z","author_association":"CONTRIBUTOR","body":"Looks great, thanks for the improvement!"}}
{"actor":{"display_login":"dfuentes"}}