Redis RQ for a function to avoid timeout on Heroku

Job ID: 35666386

Budget: $10 – $30 USD

I have a function in Flask app that is running for >30 s and Heroku is giving timeout error. I have implemented Redis RQ based on their guidance, but I need help bug fixing. Problem is that status of job queue is always 'queued' not finished
I need 1) fix status and grab results from queued function for finished status on UI, 2) avoid the timeout error on Heroku.
Related categories: JavaScript Python Redis Heroku Flask