SamWheating commented on PR #22917:
URL: https://github.com/apache/airflow/pull/22917#issuecomment-1123038203

   Thoughts on deleting this DAG from the serialized DAGs table at the same 
time that it is marked inactive?
   
   
https://github.com/apache/airflow/blob/cfa95af7e83b067787d8d6596caa3bc97f4b25bd/airflow/dag_processing/manager.py#L508-L515
   
   This query is gonna run really frequently (once for every DAG per parse 
interval) and most of the time won't have any missing DAGs to delete, by 
performing this on an intermittent / as-needed basis we can reduce the volume 
of queries on the database. 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to