slmg commented on code in PR #32759:
URL: https://github.com/apache/airflow/pull/32759#discussion_r1271303156
##########
airflow/www/app.py:
##########
@@ -81,7 +81,9 @@ def create_app(config=None, testing=False):
flask_app.secret_key = conf.get("webserver", "SECRET_KEY")
flask_app.config["PERMANENT_SESSION_LIFETIME"] =
timedelta(minutes=settings.get_session_lifetime_config())
- flask_app.config.from_pyfile(settings.WEBSERVER_CONFIG, silent=True)
+ # Enable customizations in webserver_config.py to be applied via
Flask.current_app.
Review Comment:
Given it would already be a choice to import `flask.current_app` or not in
*webserver_config.py*, I am not sure what value an extra configurable option
step would add?
--
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]