[
https://issues.apache.org/jira/browse/AIRFLOW-6268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16999328#comment-16999328
]
ASF subversion and git services commented on AIRFLOW-6268:
----------------------------------------------------------
Commit 6fe8f01d65d4080445d1ccdc162af40cd6077de1 in airflow's branch
refs/heads/v1-10-test from Robin Edwards
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=6fe8f01 ]
[AIRFLOW-6268] Prevent ajax calls when no dags (#6839)
Prevent 4 AJAX calls on empty search result page of DAGs view.
(cherry picked from commit 5abe8bd65ca5c9e364e94bf2202878a7256ff5fd)
> Superfluous ajax calls when no dags returned in search
> ------------------------------------------------------
>
> Key: AIRFLOW-6268
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6268
> Project: Apache Airflow
> Issue Type: Bug
> Components: ui
> Affects Versions: 2.0.0, 1.10.6
> Reporter: Robin Edwards
> Priority: Minor
> Fix For: 1.10.7
>
>
> When a search for a dag returns no results the system still makes 4 ajax
> calls to: task_stats, dag_stats, last_dagruns and blocked which by default
> return the entire state of the system which is discarded and not used.
> On systems with a large amount of dags and task meta data this results in an
> incredibly slow loading page.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)