Skip to main content

Synchronous Redis result store backend

Project description

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 https://github.com/celery/celery/issues/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:// 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).

celery_redis_sync

1.1.0 (2022-09-23)

  • Also register for rediss+sync:// URL

1.0.1 (2019-11-28)

  • Declare Python-3 compatibility

1.0.0 (2017-10-05)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

celery_redis_sync-1.1.0.tar.gz (5.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page