Forums

Need to process data for quite a long time in my PythonAnywhere web

Hi, so I own this website http://launchtimeapp.pythonanywhere.com/, on the web there are forms to generate startup time report for multiple Android/iOS devices and to generate the report we're using Browserstack, so I implemented Browserstack API on the web. Sometimes I have to generate report for 5 devices at a time after clicking Submit button and for each device it will take around 10-15 minutes. I found no issue when I run the web locally and the report is generated properly, but when I tried to generate report on my PythonAnywhere web, I noticed the process will always get terminated after 10 minutes, so the report can not be generated properly. Do I need to subscribe to paid account so that the process will not be terminated after 10 minutes? Thanks.

We have a 5 min timeout per request set. We suggest moving the long/heavy processing outside of the web app, see this help page.