My app is built on Rails and my production server is on Heroku.
My application is mostly used for file upload and file processing and it takes more than 50 seconds f
This is not possible according to Heroku's documentation
The timeout value is not configurable. If your server requires longer than 30 seconds to complete a given request, we recommend moving that work to a background task or worker to periodically ping your server to see if the processing request has been finished. This pattern frees your web processes up to do more work, and decreases overall application response times.