How to change default request time out on Heroku?

前端 未结 3 795
日久生厌
日久生厌 2021-01-07 23:24

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

3条回答
  •  -上瘾入骨i
    2021-01-07 23:49

    You should upload your large files directly to Amazon S3 or similar and then process the file using a Heroku background worker. Typically, your web page will use some sort of polling (usually an AJAX request) to see when the processing has finished and update the front end.

提交回复
热议问题