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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file celery-redis-unixsocket-0.3.tar.gz.
File metadata
- Download URL: celery-redis-unixsocket-0.3.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5066b27dc7ab0ec252fe1f3a6357e0c962b3b778d8099fc9562cff8de6ef4310
|
|
| MD5 |
b68783686f90a76ed1e7762dd8acfbfc
|
|
| BLAKE2b-256 |
cfc84d2a14dce1c282a1489fd3f1a950f4490c9a268e32466a564a162b8336ea
|