Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 986 Bytes

README.rst

File metadata and controls

32 lines (22 loc) · 986 Bytes

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