-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Display a warning when some GraphQL query gets stuck #21825
Comments
That's great. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Gatsby community! 💪💜 |
This is actually done via #23261 |
Summary
There are situations when GraphQL queries run too long (due to cycles in data or very deep query structure). For example #21758
We should account for this and display a warning after 30 seconds of query running (the timeout value may change). This warning will mention the Component with a bad query.
We should also consider adding complexity scoring in the future which could warn users about possible problems during the query validation step.
The text was updated successfully, but these errors were encountered: