vandonr-amz commented on code in PR #30495:
URL: https://github.com/apache/airflow/pull/30495#discussion_r1167001126
##########
airflow/config_templates/config.yml:
##########
@@ -2344,6 +2344,16 @@ scheduler:
version_added: 2.0.0
type: boolean
default: "True"
+ parsing_pre_import_modules:
+ description: |
+ The scheduler reads dag files to extract the airflow modules that are
going to be used,
+ and imports them ahead of time to avoid having to re-do it for each
parsing process.
+ This flag can be set to False to disable this behavior in case an
airflow module needs to be freshly
+ imported each time (at the cost of increased DAG parsing time).
+ version_added: 2.6.0
Review Comment:
I set this to 2.6 since there is still a chance it can catch the release
train before it leaves the station!
--
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]