hussein-awala commented on code in PR #36401:
URL: https://github.com/apache/airflow/pull/36401#discussion_r1438582934


##########
airflow/www/app.py:
##########
@@ -75,6 +75,8 @@ def create_app(config=None, testing=False):
 
     flask_app.config["PERMANENT_SESSION_LIFETIME"] = 
timedelta(minutes=settings.get_session_lifetime_config())
 
+    flask_app.config["MAX_CONTENT_LENGTH"] = conf.getfloat("webserver", 
"allowed_payload") * 1024 * 1024

Review Comment:
   ```suggestion
       flask_app.config["MAX_CONTENT_LENGTH"] = conf.getfloat("webserver", 
"allowed_payload_size") * 1024 * 1024
   ```



##########
airflow/config_templates/config.yml:
##########
@@ -1855,6 +1855,13 @@ webserver:
       type: boolean
       example: "False"
       default: "False"
+    allowed_payload:

Review Comment:
   ```suggestion
       allowed_payload_size:
   ```



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to