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
@nikshepsvn
Try the solution specified in the above PR by increasing the timeout duration.
Here's a sample code from the PR to implement the timeout:
Copycodeconstcontroller=newAbortController();constid=setTimeout(()=>controller.abort(),timeout);// Set the timeout heretry{constres=awaitfetch(`${instantBackendOrigin}${path}`,{method: method??"GET",headers: {
...(withAuth ? {Authorization: `Bearer ${authToken}`} : {}),"Content-Type": "application/json",},body: body ? JSON.stringify(body) : undefined,signal: controller.signal,// Passing the signal to abort the fetch if timeout is reached});clearTimeout(id);// Clear the timeout to free up resources}catch(error){// Handle errors, including the timeout abort error}
as seen here, I can't seem to update my data because of this, is it because the object is too big? What is going on and how can I get around this?
The text was updated successfully, but these errors were encountered: