airflow.cfg:
# airflow version = 1.10.1
executor = LocalExecutor
parallelism = 32
dag_concurrency = 16
And a dag.py:
with DAG('mydag', schedule_interval="@hourly") as dag:
# define tasks
But sometimes my task takes longer to finish than my schedule_interval, and airflow schedules the next task before the previous is done.
This is causing all sorts of awful race conditions.
Is there a way I can explicitly prevent overlapping tasks from being scheduled? Even if that means skipping a run entirely?