Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry options already builtin anywhere #41

Closed
RyanQuey opened this issue Dec 27, 2017 · 5 comments
Closed

Retry options already builtin anywhere #41

RyanQuey opened this issue Dec 27, 2017 · 5 comments

Comments

@RyanQuey
Copy link

Hello,

Thanks for this project, have used it already with great satisfaction thus far.

I'm wondering though: is there anyway to pass in an option and retry on failure? I'm specifically wanting to
retry once or maybe twice if I get a 503, service_unavailable

@yakovkhalinsky
Copy link
Owner

Thanks for the question @RyanQuey unfortunately not at this time.

It is something I would like to add in the future though.

@Amit-A
Copy link
Collaborator

Amit-A commented Feb 12, 2019

I think this can be done easily with the axios-retry module. If I can get it to work, I will submit a pull request.

@Amit-A
Copy link
Collaborator

Amit-A commented Feb 12, 2019

This pull request should do it.

@haywirez
Copy link
Contributor

@Amit-A thanks!

@Amit-A Amit-A self-assigned this Feb 20, 2019
@Amit-A
Copy link
Collaborator

Amit-A commented Feb 20, 2019

Merged #61 which does this. Will make an NPM release soon as #62 is merged.

@Amit-A Amit-A closed this as completed Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants