houdini icon indicating copy to clipboard operation
houdini copied to clipboard

Add configurable timeout for pullSchema

Open SeppahBaws opened this issue 9 months ago • 0 comments

Describe the feature

Currently, pullSchema uses fetch without much more, resulting in a 4-minute timeout (in my case) if the remote api is unreachable. This lead to a lot of confusion as to why my dev server wasn't starting, and it would've been neat to have it say "can't connect to your remote API" sooner.

We could do something like this: https://stackoverflow.com/questions/46946380/fetch-api-request-timeout/57888548#57888548

Criticality

cool improvement, my projects will benefit from it

SeppahBaws avatar May 21 '24 09:05 SeppahBaws