website icon indicating copy to clipboard operation
website copied to clipboard

Retry `fetch` requests

Open baltpeter opened this issue 4 years ago • 3 comments

We often get error reports due to temporary network failures (like #659). To avoid those, and provide a better user experience, we should retry failed requests a couple of times.

baltpeter avatar Sep 13 '21 15:09 baltpeter

I can try to fix it. Where should I start looking?

aerabi avatar Oct 01 '21 13:10 aerabi

@aerabi I've assigned you.

There isn't really any specific place where this could be fixed. You'd need to look through all instances in the code where we are using fetch(). And you should probably introduce a wrapper with retryability and replace those instances with that where it makes sense.

baltpeter avatar Oct 01 '21 15:10 baltpeter

I couldn't manage to install the project on my machine. I'll unassign myself to let other people contribute.

aerabi avatar Oct 15 '21 13:10 aerabi