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

celery_redis_sync

1.1.1 (2022-09-27)

  • Properly pass through SSL parameters for rediss

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.1.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file celery_redis_sync-1.1.1.tar.gz.

File metadata

  • Download URL: celery_redis_sync-1.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for celery_redis_sync-1.1.1.tar.gz
Algorithm Hash digest
SHA256 4bfcb94abbc9e2ffe6a610e8838b45a70e782b629cf3b81867b99fc99f551829
MD5 8451399db41f02343452b35f47ec7e99
BLAKE2b-256 d823bc905f41b8168f6b221b8560a6a7cb27d7a1ee54d94fa22bf7426df586db

See more details on using hashes here.

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