You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/14 13:38:05 UTC

[GitHub] [airflow] talnagar commented on a diff in pull request #22900: add auto refresh to dags home page

talnagar commented on code in PR #22900:
URL: https://github.com/apache/airflow/pull/22900#discussion_r850454012


##########
airflow/www/static/js/dags.js:
##########
@@ -38,6 +39,9 @@ const dagStatsUrl = getMetaValue('dag_stats_url');
 const taskStatsUrl = getMetaValue('task_stats_url');
 const gridUrl = getMetaValue('grid_url');
 
+// auto refresh interval in milliseconds
+const refreshIntervalMs = 2000;

Review Comment:
   sure. Actually I was wondering what's the best interval for update since this page can be quite heavy in some cases. what do you think?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org