I have developed a web app. After the user makes a POST, some processing starts which takes some time. When the function ends, a response is served to the client. Meanwhile, when the POST happens, the page is refreshed on the client side, a new div is shown. So the client sees a new page.
But i uploaded my app to Heroku, and while my app works fine on my machine, Heroku throws an H12 timeout error after 30 seconds of the server not sending a response, to answer the client POST request.
In my application this is unnecessary and kills my app.
Is there a way to turn off request timeouts in Heroku?
After all, when the client makes the POST, hiw view changes. It's like he received a new reponse.