K
K
kramidev2015-03-09 09:20:05
Ruby on Rails
kramidev, 2015-03-09 09:20:05

rails. H12 - Request timeout when uploading large files. How to decide?

Hello railroaders. Help solve the issue. The project hangs on heroku. When uploading a large number of photos, there is a problem with the outcome of the request timeout. In the H12 logs -- Request timeout. Photos are uploaded to S3. I will be grateful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2016-08-30
@2ord

Try passenger instead of unicorn - it's more suitable for slow clients and long downloads.
Or upload photos directly to S3, bypassing uploading to Heroku..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question