Celery Once allows you to prevent multiple execution and queuing of celery tasks.
BSD 2-Clause "Simplified" License
662
stars
90
forks
source link
Allow to pass options to the redis URL + allow redis socket paths #33
Closed
brouberol closed 7 years ago
The CELERY_ONCE_URL parameter URL can now contain kwargs that will be passed to the
StrictRedis
constructor[1].We also allow the define CELERY_ONCE_URL as a UNIX socket path, using the
redis+socket
URL scheme, as kombu [2] does.[1] https://redis-py.readthedocs.org/en/latest/index.html#redis.StrictRedis [2] https://kombu.readthedocs.org/en/latest/userguide/connections.html#urls