piquadrat/celery-redis-unixsocket — pull request #4 by blaze33 (2013-03-29 18:41:12+00:00)
Title: Rewrote broker.py to make it work with the current Celery release

The kombu-redis Channel class stores the first created pool in
self._pool. What was actually needed is an overload of the Channel
_get_pool method. Not doing so leads to weird bugs down the road with
redis-py trying to release apparently unregistered connections. Took me
a while to nail this one!
The duplicated code from the Channel _connparams method was removed as
it's not needed.

If someone reads this, it would be nice to clean this code to have it
merged upstream in celery, cf. issue #3.

Tested with the latest release available:
celery==3.0.17
celery-redis-unixsocket==0.2
redis==2.7.2