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.
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
fetchto do so, but it would be nice to provide a customfetchfunction instead.