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

Provide custom fetch #4

Open
wmertens opened this issue Aug 5, 2019 · 0 comments
Open

Provide custom fetch #4

wmertens opened this issue Aug 5, 2019 · 0 comments

Comments

@wmertens
Copy link

wmertens commented Aug 5, 2019

I have a misbehaving SP with frequent timeouts that I can't do anything about. I would like to make it so GET requests have a short timeout (default seems to be 15 minutes) and are retried 3 times when they time out.

It seems that I have to monkey-patch node-fetch's fetch to do so, but it would be nice to provide a custom fetch function instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant