pyramid_celery
pyramid_celery copied to clipboard
result_backend config option doesn't work in .ini file
Pyramid 1.10.4 Celery 4.4.2 pyramid_celery 3.0.0 Python 3.6.9
I was trying to specify my celery result_backend
using the .ini file. But it just wouldn't work. Kept getting results: disabled://
.
Moving the config to celeryconfig.py
with USE_CELERYCONFIG = True
fixed the issue for me, but thought this might still be something to look into, as expected behaviour might be for it to work either way.
Thank you,
Pyramid 2.0.2 Celery 5.3.4 pyramid_celery 4.0.0 Python 3.10.12
Specifying the result_backend
option worked for me. Maybe this is fixed and the issue can be closed?
I was getting AttributeError: 'DisabledBackend' object has no attribute '_get_task_meta_for'
from Celery, and solved it by adding result_backend = rpc://