{"action":"created","issue":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1699","repository_url":"https://api.github.com/repos/Alamofire/Alamofire","labels_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1699/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1699/comments","events_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1699/events","html_url":"https://github.com/Alamofire/Alamofire/issues/1699","id":183262330,"number":1699,"title":"RequestRetrier endless loop?","user":{"login":"marcusleon","id":17421510,"avatar_url":"https://avatars.githubusercontent.com/u/17421510?v=3","gravatar_id":"","url":"https://api.github.com/users/marcusleon","html_url":"https://github.com/marcusleon","followers_url":"https://api.github.com/users/marcusleon/followers","following_url":"https://api.github.com/users/marcusleon/following{/other_user}","gists_url":"https://api.github.com/users/marcusleon/gists{/gist_id}","starred_url":"https://api.github.com/users/marcusleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcusleon/subscriptions","organizations_url":"https://api.github.com/users/marcusleon/orgs","repos_url":"https://api.github.com/users/marcusleon/repos","events_url":"https://api.github.com/users/marcusleon/events{/privacy}","received_events_url":"https://api.github.com/users/marcusleon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-16T11:34:12Z","updated_at":"2016-10-17T18:20:47Z","closed_at":null,"body":"Is there a risk that when using `RequestRetrier` that you end up in an endless loop? \r\n\r\n... Where the `should(...)` implementation indicates the response be retried and the retry then fails with the same error as the original....  resulting in an endless fail/retry loop.  Do we need to code for this scenario or does the framework cover this?\r\n\r\nIf you're updating your session/token via REST in `should(...)` then I assume you have to ensure you're not using the same retrier so you don't get in an endless loop?   But wasn't sure about the actual request retry."},"comment":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/comments/254289816","html_url":"https://github.com/Alamofire/Alamofire/issues/1699#issuecomment-254289816","issue_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1699","id":254289816,"user":{"login":"Daltron","id":9689335,"avatar_url":"https://avatars.githubusercontent.com/u/9689335?v=3","gravatar_id":"","url":"https://api.github.com/users/Daltron","html_url":"https://github.com/Daltron","followers_url":"https://api.github.com/users/Daltron/followers","following_url":"https://api.github.com/users/Daltron/following{/other_user}","gists_url":"https://api.github.com/users/Daltron/gists{/gist_id}","starred_url":"https://api.github.com/users/Daltron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daltron/subscriptions","organizations_url":"https://api.github.com/users/Daltron/orgs","repos_url":"https://api.github.com/users/Daltron/repos","events_url":"https://api.github.com/users/Daltron/events{/privacy}","received_events_url":"https://api.github.com/users/Daltron/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T18:20:47Z","updated_at":"2016-10-17T18:20:47Z","body":"I am also curious about this. I think it would be great if there was some kind of built in mechanism that allows you to set the number of retries to perform on a particular request before giving up."}}
{"actor":{"display_login":"Daltron"}}