I'm learning Django and have an app hosted in Heroku.
The app takes an Excel file from Amazon S3 that contains products to be synced with a database (Postgre).
When I had around 400 products in the file, the app worked perfectly. Now I have around 1100 products and as the sync process is taking more than 30 seconds, Heroku is returning me this error:
code=H12 desc="Request timeout"
I already raised the Gunicorn timeout to from 30 seconds to 600 seconds, but still receiving the error.
Based on what I've been reading the timeout is associated with Heroku and not with Gunicorn.
I'm using 1 web dyno (the free one) should I increment dynos? or that wouldn't solve the problem?
Thanks a lot,
Eduardo