From dcd32b55553ce1543631084a281c94f0211e48d1 Mon Sep 17 00:00:00 2001 From: Sergey Lyapustin Date: Wed, 22 Jun 2022 00:13:59 +0200 Subject: [PATCH] Use CeleryExecutor. --- .gitignore | 2 ++ airflow.cfg | 1 + requirements.txt | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 67d5c24..10ce441 100644 --- a/.gitignore +++ b/.gitignore @@ -131,3 +131,5 @@ dmypy.json # Ignore some Airflow folders dags/files/ logs/ + +notes.txt diff --git a/airflow.cfg b/airflow.cfg index 9c26bb3..be080e4 100644 --- a/airflow.cfg +++ b/airflow.cfg @@ -1,6 +1,7 @@ [core] broker_url = $REDIS_URL sql_alchemy_conn = $DATABASE_URL +executor = CeleryExecutor # Do not load examples DAGs load_examples = False diff --git a/requirements.txt b/requirements.txt index 3c1624e..b89c174 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -apache-airflow[postgres]==2.2.5 # Can't upgrade to 2.3 till this PR will be merged https://github.com/apache/airflow/pull/24569 +apache-airflow[postgres,celery]==2.2.5 # Can't upgrade to 2.3 till this PR will be merged https://github.com/apache/airflow/pull/24569