Reputation: 954
I have a long-running task currently running as a web process on Heroku which according to Heroku docs I need to move to a background worker to avoid timeouts.
How does the web process actually connect to the background worker both to give it the work and to pick up the results? The heroku docs don't seem to explain this.
Upvotes: 3
Views: 1527
Reputation: 5954
Its more a question of how you commonly do this in Python. The docs have further detail around how to do this with Django, though the key piece is doing this within Celery. You can find more info at: http://devcenter.heroku.com/articles/django#running_a_worker
Upvotes: 3