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.