-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat(gatsby-source-strapi): Add timeout setting for data fetching #344
Comments
Hi! did you solved this? I'm getting the same error with a jpeg file that weights 343KB. |
I'm getting the issue as well with a heavy image. In my understanding there is a timeout for a file download because it happens to me locally with a slow internet connection. It would be great to control the timeout milliseconds for the fetch requests. |
Hi! I'm getting the same error with a video file that size 193MB. My video is uploaded on s3 bucket then also facing a timeout issue. It would be great to get a resolution ASAP. |
Solve this after compressing the video and make size below 100 MB |
How did y'all determine that the issue was in downloading a particularly large image? I'm seeing an ETIMEDOUT error and am curious if this is the root cause. |
I believe there is an env variable you can specify the memory and timeout limits for Gatsby build. |
@MRDRMUFN could you please specify where you got that information from? |
Seems like this is the spot where Gatsby sets the different variables for fetching resources (using env vars). Adding |
I've got a video file that is about 100MB hosted on my remote Strapi CMS server. It receives timeout before it manages to download the file.
Is it possible to adjust the timeout somehow?
The text was updated successfully, but these errors were encountered: