houqp commented on a change in pull request #7492: [AIRFLOW-6871] optimize tree 
view for large DAGs
URL: https://github.com/apache/airflow/pull/7492#discussion_r382896709
 
 

 ##########
 File path: airflow/www/templates/airflow/tree.html
 ##########
 @@ -102,10 +112,63 @@
 
 var tree = d3.layout.tree().nodeSize([0, 25]);
 var nodes = tree.nodes(data);
+var now_ts = Date.now()/1000;
 var nodeobj = {};
 for (i=0; i<nodes.length; i++) {
 
 Review comment:
   good call, refactored the loop into `backfill_taskinstance_properties` 
function.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to