-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 batching to Github API requests #2295
Conversation
@wackerow @ryancreatescopy I think I finally got this working 😵 Mind checking this branch out locally & seeing if things work for you?
Does anything break!? |
849d1e9
to
1dcfe52
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working great on my end! No breaks after running a few builds in a row. 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second time it built without the errors but still lots of warnings about missing custom ID on headers etc... |
Same for the thrice time 👍 |
Groovy! Seems this is working given all builds appear to work. I'm going to merge this. @ryancreatescopy re: those .gif errors - I received the same thing originally. Mind running a |
Description
Batch GraphQL requests (10 at a time) to Github API to avoid rate limits & broken builds ☠️
Context for the curious:
https://www.gatsbyjs.com/plugins/gatsby-source-graphql/#performance-tuning
Related Issue
#2160