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
I have an application that queries databases that on some instances can take more than 5 minutes. It seems the dev proxy server has a default timeout of around 2mins (I assume from express / nodejs socket default).
Is there an easy way to increase this timeout on create-react-app ?
Best,
Iqbal
The text was updated successfully, but these errors were encountered:
Wow, that's a long HTTP request -- I'd suggest you make other changes in your application, such as returning immediately with a response acknowledging that it's queued, followed by repeated requests to check on its status.
Alternatively, a websocket might be better suited -- long running HTTP connections usually indicate a problem.
Yeah its an interface to analytical platform so some can be long (millions of records are being analysed). So some queries are quite big, perhaps I will look at websockets.
(also to fully answer your original question, you can't -- but I don't think exposing an option for this would help because you'd most likely run into issues when deploying in production anyway)
Hi All,
I have an application that queries databases that on some instances can take more than 5 minutes. It seems the dev proxy server has a default timeout of around 2mins (I assume from express / nodejs socket default).
Is there an easy way to increase this timeout on create-react-app ?
Best,
Iqbal
The text was updated successfully, but these errors were encountered: