Sidekiq: How to run Sidekiq with ActiveJob?

Created on 21 Apr 2015  Â·  4Comments  Â·  Source: mperham/sidekiq

I am working on a new Rails 4.2 app. I have added Sidekiq as the ActiveJob backend and added the Sidekiq web UI. I have a mailer that is supposed to be sending emails. I can see the email ending up in the mailers queue. However the job is not being run. I am running this app on Ninefold and converted to using a Procfile (like Heroku). I specified worker: bundle exec sidekiq. I followed all of the documentation that I could find, but I feel like I'm missing a step. What am I doing wrong?

Most helpful comment

It worked for me when I specified the queues as Mike mentioned:

bundle exec sidekiq -q mailers -q default

So @dftaher you must be having a different issue than I was.

All 4 comments

-q mailers -q default

Need to tell Sidekiq to process that queue.

On Apr 21, 2015, at 00:01, Andrew Havens [email protected] wrote:

I am working on a new Rails 4.2 app. I have added Sidekiq as the ActiveJob backend and added the Sidekiq web UI. I have a mailer that is supposed to be sending emails. I can see the email ending up in the mailers queue. However the job is not being run. I am running this app on Ninefold and converted to using a Procfile (like Heroku). I specified worker: bundle exec sidekiq. I followed all of the documentation that I could find, but I feel like I'm missing a step. What am I doing wrong?

—
Reply to this email directly or view it on GitHub.

I'm having the same problem even though I specify the queues when running the workers.

It worked for me when I specified the queues as Mike mentioned:

bundle exec sidekiq -q mailers -q default

So @dftaher you must be having a different issue than I was.

Active Job integration documentation is in the wiki:

https://github.com/mperham/sidekiq/wiki/Active-Job

There's no known bugs right now; any issues you are seeing are almost certainly due to application issues.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rajcybage picture rajcybage  Â·  3Comments

bartimaeus picture bartimaeus  Â·  3Comments

jlecour picture jlecour  Â·  4Comments

paul-ylz picture paul-ylz  Â·  4Comments

mperham picture mperham  Â·  4Comments