turbaszek commented on a change in pull request #10956:
URL: https://github.com/apache/airflow/pull/10956#discussion_r499491362
##########
File path: airflow/models/dagbag.py
##########
@@ -510,6 +513,6 @@ def sync_to_db(self):
DAG.bulk_sync_to_db(self.dags.values())
# Write Serialized DAGs to DB if DAG Serialization is turned on
# Even though self.read_dags_from_db is False
- if settings.STORE_SERIALIZED_DAGS:
+ if settings.STORE_SERIALIZED_DAGS or self.read_dags_from_db:
Review comment:
@ashb can you please take a look here?
----------------------------------------------------------------
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]