Skip to content

Conversation

@ybastide
Copy link
Contributor

@ybastide ybastide commented Feb 3, 2017

Add retry on polling on ResponseError (e.g. throttling): what do you think @jbbarth?

Partial fix to getting throttled by the SWF API. _complete should
already retry (thrice, is this enough?)

Signed-off-by: Yves Bastide <yves@botify.com>
These methods are not much private: let's rename them to *_with_retry.

Signed-off-by: Yves Bastide <yves@botify.com>
Signed-off-by: Yves Bastide <yves@botify.com>
Signed-off-by: Yves Bastide <yves@botify.com>
Copy link
Collaborator

@jbbarth jbbarth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's greaaat!! 👍
We can only add the same thing on poller.fail() which sometimes break.

Totally untested!

Signed-off-by: Yves Bastide <yves@botify.com>
@ybastide
Copy link
Contributor Author

ybastide commented Feb 3, 2017

Done, without even launching the tests locally 🙂

@jbbarth
Copy link
Collaborator

jbbarth commented Mar 2, 2017

Ready to merge?

@ybastide
Copy link
Contributor Author

ybastide commented Mar 2, 2017

Ready!

@ybastide ybastide merged commit 56faf29 into master Mar 2, 2017
@ybastide ybastide deleted the enhancement/108/add-retry-on-poll branch March 2, 2017 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants