【发布时间】:2021-11-01 18:42:44
【问题描述】:
有人知道如何解决这个 graphql 错误吗?它出现在我添加了更多 woocomerce 产品之后。网址似乎很好,因为在删除了部分 woocomerce 产品后,所有星星都可以再次正常工作。
ERROR
timeout of 30000ms exceeded
ERROR #gatsby-source-wordpress_111006
gatsby-source-wordpress It took too long for https://my-web-url/graphql to respond (longer than 30 seconds).
Either your URL is wrong, you need to increase server resources, or you need to decrease the amount of resources each
request takes.
You can configure how much resources each request takes by lowering your `options.schema.perPage` value from the default
of 100 nodes per request.
Alternatively you can increase the request timeout by setting a value in milliseconds to `options.schema.timeout`, the
current setting is 30000.
GraphQL request to https://my-web-url/graphql failed.
【问题讨论】:
-
请提供足够的代码,以便其他人更好地理解或重现问题。
标签: reactjs wordpress graphql gatsby