ashb commented on a change in pull request #6788: WIP: [AIRFLOW-5944] Rendering 
templated_fields without accessing DAG files
URL: https://github.com/apache/airflow/pull/6788#discussion_r374084525
 
 

 ##########
 File path: airflow/models/dagrun.py
 ##########
 @@ -419,6 +420,17 @@ def verify_integrity(self, session=None):
                     1, 1)
                 ti = TaskInstance(task, self.execution_date)
                 session.add(ti)
+                session.commit()
+
+                # ToDo: Store only Last X number (maybe 10 or 100) TIs for a 
task
 
 Review comment:
   ```suggestion
                   # TODO: Store only Last X number (maybe 10 or 100) TIs for a 
task
   ```
   
   (Just so they are all the same in the codebase and a `grep TODO` will find 
it.

----------------------------------------------------------------
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