defunkt/resque — Issue #515: Resque workers don't work on other Redis db other than 0
Author: martianinteractive
Created: 2012-02-18 23:25:25+00:00
State: open

I have Resque setup like:

Resque.redis = "localhost:6379:6" where 6 is the database number.

However, when spining the workers they never pickup the right db.

pry(main)> Resque.workers
=> []

If I then connect to db 0, I can see the one worker I started is there:

pry(main)> Resque.redis = "localhost:6779:0"
=> "localhost:6379:0"
pry(main)> Resque.workers
=> [#]

Do Resque workers only work on db 0? if so, why is the option to connect to another db available?