Skip to main content

celery store backend and kombu transport for redis that supports connections via unix sockets

Project description

This package provides a celery result backend and a kombu transport for Redis using unix sockets instead of TCP.

Usage

Add this to your settings:

BROKER_TRANSPORT = 'celery_redis_unixsocket.broker.Transport'
BROKER_HOST = '/path/to/redis.sock'
BROKER_VHOST = 0

# if redis password is configured:
BROKER_PASSWORD = 'foobar'

And if you want to store results:

CELERY_RESULT_BACKEND = 'redisunixsocket'
CELERY_REDIS_HOST = '/path/to/redis.sock'

CELERY_IGNORE_RESULT = False

# if redis password is configured:
CELERY_REDIS_PASSWORD = 'foobar'

import celery_redis_unixsocket

The import celery_redis_unixsocket is important because it registers redisunixsocket as a result backend.

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-unixsocket-0.3.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file celery-redis-unixsocket-0.3.tar.gz.

File metadata

File hashes

Hashes for celery-redis-unixsocket-0.3.tar.gz
Algorithm Hash digest
SHA256 5066b27dc7ab0ec252fe1f3a6357e0c962b3b778d8099fc9562cff8de6ef4310
MD5 b68783686f90a76ed1e7762dd8acfbfc
BLAKE2b-256 cfc84d2a14dce1c282a1489fd3f1a950f4490c9a268e32466a564a162b8336ea

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