简体   繁体   中英

Celery celery_taskmeta table for results backend not saving until task completed

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.

设置task_track_startedTrue在你的芹菜配置,这将任务一旦任务进入添加到结果后端STARTED状态。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM