8000 fix: Remove the 10MB limit by kappratiksha · Pull Request #205 · GoogleCloudPlatform/functions-framework-python · GitHub
[go: up one dir, main page]

Skip to content

fix: Remove the 10MB limit #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/functions_framework/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

5E9E Expand Down Expand Up @@ -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
Expand Down
0