From 6dfc8b43091f3dac06aadca77e79fcc42849401c Mon Sep 17 00:00:00 2001 From: Pratiksha Kap Date: Wed, 9 Nov 2022 11:54:38 -0800 Subject: [PATCH] remove 10mb limit --- src/functions_framework/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/functions_framework/__init__.py b/src/functions_framework/__init__.py index 5d18d2ab..fa638505 100644 --- a/src/functions_framework/__init__.py +++ b/src/functions_framework/__init__.py @@ -35,8 +35,6 @@ ) from google.cloud.functions.context import Context -MAX_CONTENT_LENGTH = 10 * 1024 * 1024 - _FUNCTION_STATUS_HEADER_FIELD = "X-Google-Status" _CRASH = "crash" @@ -262,7 +260,6 @@ def create_app(target=None, source=None, signature_type=None): # Create the application _app = flask.Flask(target, template_folder=template_folder) - _app.config["MAX_CONTENT_LENGTH"] = MAX_CONTENT_LENGTH _app.register_error_handler(500, crash_handler) global errorhandler errorhandler = _app.errorhandler