Hello, I am not sure, but please look at this configuration option. This is probably the solution to your problem https://airflow.readthedocs.io/en/latest/configurations-ref.html#celery-config-options
Best regards, Kamil On Wed, Apr 1, 2020 at 5:43 PM heng gu <heng...@yahoo.com.invalid> wrote: > > I am using Celery Executor with RabbitMQ and PostgreSQL database backend. The > celery_taskmeta table never got automatically cleaned by Airflow. In Celery > configuration, you can set CELERY_TASK_RESULT_EXPIRES, but I cannot find it > in airflow.cfg or in other config templates. Does anybody know how to set it? > Thanks,