You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/05/20 13:40:56 UTC

[airflow] branch master updated: Fix incorrect Env Var to stop Scheduler from creating DagRuns (#8920)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 5360045  Fix incorrect Env Var to stop Scheduler from creating DagRuns (#8920)
5360045 is described below

commit 5360045539d5b9b8ccd7fbab734c02549c42874f
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Wed May 20 14:40:28 2020 +0100

    Fix incorrect Env Var to stop Scheduler from creating DagRuns (#8920)
---
 scripts/perf/scheduler_dag_execution_timing.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/perf/scheduler_dag_execution_timing.py b/scripts/perf/scheduler_dag_execution_timing.py
index 6734734..99a8f16 100755
--- a/scripts/perf/scheduler_dag_execution_timing.py
+++ b/scripts/perf/scheduler_dag_execution_timing.py
@@ -189,7 +189,7 @@ def main(num_runs, repeat, pre_create_dag_runs, dag_ids):  # pylint: disable=too
     os.environ['AIRFLOW_BENCHMARK_MAX_DAG_RUNS'] = str(num_runs)
 
     if pre_create_dag_runs:
-        os.environ['AIRFLOW__SCHEDULER__USE_JOB_SCHEDULER'] = 'False'
+        os.environ['AIRFLOW__SCHEDULER__USE_JOB_SCHEDULE'] = 'False'
 
     from airflow.jobs.scheduler_job import SchedulerJob
     from airflow.models.dagbag import DagBag