Closed fabiocaccamo closed 2 years ago
Settings:
DJANGO_HUEY = { 'default': 'xxx', 'queues': { 'xxx': { 'huey_class': 'huey.SqliteHuey', 'name': 'xxx_tasks', 'consumer': { 'workers': 4, 'worker_type': 'thread', }, }, 'yyy': { 'huey_class': 'huey.SqliteHuey', 'name': 'yyy_tasks', 'consumer': { 'workers': 2, 'worker_type': 'thread', }, } } }
Exception raised:
huey.exceptions.ConfigurationError: "redis" python module not found, cannot use Redis storage backend. Run "pip install redis" to install.
redis should be optional.
redis
Fixed in v1.1.1
@pablop94 thank you for the quick fix, debugging it more I discovered this is a huey bug and the workaround for me was to install redis even not needing it: pip install redis.
huey
pip install redis
Settings:
Exception raised:
redis
should be optional.