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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for celery-redis-unixsocket-0.2.tar.gz
Algorithm Hash digest
SHA256 1163b6b11339564c9d2fdd69f167c26b2157d6cbe9204dc4286131d506275e93
MD5 c91ef9d6f9b985d7028f3d8734095236
BLAKE2b-256 0ca8e30d75bad3d374e25ae43ba2de3c3202c9acc95b90677af956e86a51056d

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