I am facing a situation where an ajax request can take between 5-10 minutes to process on the server side.
Instead of continuously polling from JavaScript to check if the request is completed, I am considering making just one ajax call and setting the timeout to 15 minutes. This way, I will be notified when the request is finished.
Is it acceptable to have such a long ajax timeout? What would be an appropriate duration?
User experience is not my main concern in this case. My priority is to receive a response reliably as long as my connection remains active.