/celery_redis_sync

Synchronous Redis result store backend

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

celery_redis_sync

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.)

Usage

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.

Run tests

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).