forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gatsby): fix infinite reloads when resources fail (gatsbyjs#10141)
- Check if resources fail (as before) - Upon any failure, render static HTML instead of dynamically rendering the children - Upon initial failure, reload the page and mark the path as failed - Upon second failure, don't reload the page and unflag it (since it might have just been a temporary failure and we want it to retry the next time) Fixes gatsbyjs#10074
- Loading branch information
Showing
2 changed files
with
40 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters