4

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.

1
  • It is called "result backend" for a reason, not "progress backend"... but i believe in celery multi runner you can see which tasks are currently executed Commented Feb 18, 2018 at 9:51

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.