seomoz/qless — pull request #144 by lrechert (2013-10-03 06:49:10+00:00)
Title: Add fix for redis auth support, including spec.

__Issue__
When AUTH is configured for the redis instance and qless:work is run for a configured queue, the qless worker attempts to subscribe to the redis queue but ends in timeout.

__Analysis__
The reason for this seems to be that the second connection created during the qless worker subscribe is instantiated with a URL generated from the id attribute of the original redis instance. The problem with this is that the id attribute returns the redis URL without the password, so attempting to connect to the redis instance without a password ends in timeout.

__Fix__
This can be easily rectified by using the original set of options to create the second redis connection which ensures the password is passed through.