You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(gatsby-source-drupal): Allow sites to configure the request timeout (#35794) (#35820)
* feat(gatsby-source-drupal): Allow sites to configure the request timeout
* Inject timeout in every call
(cherry picked from commit 8166d4a)
Co-authored-by: Kyle Mathews <[email protected]>
Copy file name to clipboardExpand all lines: packages/gatsby-source-drupal/README.md
+6
Original file line number
Diff line number
Diff line change
@@ -307,6 +307,12 @@ module.exports = {
307
307
308
308
You can use the `concurrentAPIRequests` option to change how many simultaneous API requests are made to the server/service. 20 is the default and seems to be the fastest for most sites.
309
309
310
+
## API Request Timeout
311
+
312
+
You can use the `requestTimeoutMS` option to set the request timeout for API requests. API requests sometimes stall and we want to retry these instead of endlessly waiting.
313
+
314
+
The default is 30000ms. Very large sites might need to increase this.
315
+
310
316
## Disallowed Link Types
311
317
312
318
You can use the `disallowedLinkTypes` option to skip link types found in JSON:API documents. By default it skips the `self`, `describedby`, `contact_message--feedback`, and `contact_message--pesonal` links, which do not provide data that can be sourced. You may override the setting to add additional link types to be skipped.
0 commit comments