amoghrajesh commented on code in PR #32759:
URL: https://github.com/apache/airflow/pull/32759#discussion_r1271285036


##########
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:
   Wondering if we should make this a configurable option.
   
   The interested folks can enable it and the rest may choose not to



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