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

✨ add automatic retry to client fetch requests #4228

Merged
merged 2 commits into from
Dec 1, 2024
Merged

Conversation

danyx23
Copy link
Contributor

@danyx23 danyx23 commented Nov 28, 2024

This PR adds automatic retry with exponential back-off to all client side fetches that grapher or our site do. This should make our site a bit more robust on bad connections.

Copy link
Member

@ikesau ikesau left a comment

Choose a reason for hiding this comment

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

Very nice!

tested locally by blocking URLs in my network tab

also checked to make sure there weren't any other site non-POST fetch calls that you missed

@danyx23 danyx23 merged commit af57fc2 into master Dec 1, 2024
17 of 20 checks passed
@danyx23 danyx23 deleted the retry-user-fetches branch December 1, 2024 14:19
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

Successfully merging this pull request may close these issues.

2 participants