Skip to content

run dag-processor as a job, only once #36436

Answered by potiuk
antonio-antuan asked this question in Ideas
Discussion options

You must be logged in to vote

No. You need to run dag file processor continuously. This is required by airflow. One of the reasons is that in certain circumstances dag file processor also runs callbacks for tasks that have been forcefully killed - they are not only used to serialize DAGs - but also to preform this housekeeping while DAG to execute is parsed to memory as Python object.

Currently airflow does not support the configuration where dag file processor (or scheduler) periodic parsing is disabled. We do not plan to change it currently but maybe in the future we will change it. For now it's a basic assumption that dag file processor runs continuously. Disabling it will cause strange problems

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@antonio-antuan
Comment options

@potiuk
Comment options

Answer selected by antonio-antuan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants