Synchronous Redis result store backend.
This fixes the issue that the redis publish/subscribe channels are currently not removed properly by the default (asynchronous) redis backend, see celery/celery#3812. (Our "solution" is to never create any channels in the first place.)
Make sure the celery_redis_sync
module is importable, and then simply
specify a redis+sync://
or rediss+sync://
URL in your celery configuration result_backend
setting instead of the built-in redis://
URL scheme.
Using tox and py.test. Maybe install tox
(e.g. via pip install tox
)
and then simply run tox
.
For the integration tests you need to have the redis binary installed (tests start their own server).