My celery is using postgresql for a backend, but it seems that the celery_taskmeta table is only created and tasks saved to it only after they're completed, rather than being able to track which ones are in the various status states.
Is there some configuration issue for me that would cause that? Or does it only save the final result to the backend, rather than the status along the way.
Set task_track_started
to True
in your celery config, this will add tasks to the result backend as soon as the task enters the STARTED
state.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With