In working on an ActiveJob adapter for Faktory I'm trying to start and stop workers programmatically using Faktory::Launcher. I can get workers to start and stop, but I can't ever seem to get them to watch any queue other than default.
No matter what I put in the queues array it always acts like I've done queues: ["default"].
I'm running this against the branch from #7. I haven't been able to spot any changes there that I think might affect this but it's certainly possible I've missed something.
In working on an ActiveJob adapter for Faktory I'm trying to start and stop workers programmatically using
Faktory::Launcher
. I can get workers to start and stop, but I can't ever seem to get them to watch any queue other thandefault
.I'm basically doing this:
No matter what I put in the
queues
array it always acts like I've donequeues: ["default"]
.I'm running this against the branch from #7. I haven't been able to spot any changes there that I think might affect this but it's certainly possible I've missed something.
Here's the entire process I'm using to start/stop workers if it helps. (This code is adapted from the AJ test adapter for Sidekiq: https://github.com/rails/rails/blob/master/activejob/test/support/integration/adapters/sidekiq.rb)