2
votes

When fetching images it returns

Fetching image_url is taking a long time time (longer than 15 seconds). This file is File_size MB``` After few of this line it crashes with ```error RequestError: Timeout awaiting 'request' for 30000ms. 

How can I increase this 15sec timeout limit?

2

2 Answers

0
votes

I would suggest using the built-in options:

{
  resolve: `gatsby-source-wordpress-experimental`,
  options: {
    schema: {
      requestConcurrency: 50,
    },
  },
},

Alternatively you can change your develop running command to, in your package.json:

"develop": "GATSBY_CONCURRENT_DOWNLOAD=5 gatsby develop",
0
votes

I was having the same issue, it it was fixed after upgrading from Node v10 to v14 and running npm rebuild