How to ignore WebMethod request timed-out

Hello!
I am using a function that I made from the backend, sometimes this function is very large depending on the number of items it returns, I would like to know if it is possible to ignore this message "WebMethod request timed-out after 14 seconds … Did you forget to resolve a promise? "

Thanks

1 Like

The timeout is there to prevent runaway code and system abuse.

You can try to optimize your code, or do multiple requests of intermediate results.

14 seconds is way too short… I have a script that’s trying to copy several PDFs from an Azure file share to the Media Manager – very non-intensive for your system, but time-consuming because of the requests involved. This limit seems like it will force me to bring in a separate server, splitting up the architecture in a gross way and pushing the project to find a different platform.