Queue fills up but mails aren't processed by workers
Opened this issue · 1 comments
Deleted user commented
I'm using devise-async and sidekiq in order to send the mails in the background. I've followed the default steps for setting up devise-async and have tried several different things. The issue is that the sidekiq mailer queue fills up with the default devise messages, but they are never processed by the workers.
Gem versions are
Devise 2.1.2
Devise-async 0.4.0
Sidekiq 2.5.3
Thanks,
Julius
Deleted user commented
Issue resolved. The problem was that I started sidekiq using bundle exec sidekiq
which then simply relies on the default
queue. You need to start sidekiq and tell it to use the mailer
queue like so bundle exec sidekiq -q mailer
. I think it would be helpful to add this to the documentation as a side note.