I have a Rails 3.2 app that uses the Queue_Classic gem, and is deployed on Heroku.
Currently my queued jobs are not being processed, unless I run heroku run rake qc:work in the command line.
I have added a Procfile containing the following:
worker: bundle exec rake qc:work
but still no processing of the queue unless I run heroku run rake qc:work manually.
What am I missing?
This app uses Unicorn, could this be having an impact?
After some digging around, I came up with the following solution.
I’m not sure if this is the best approach, or how it will behave as we scale web processes etc, but it’s working for now.
I set up unicorn as usual, including
then i added the following config