Skip to content
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

fix: Remove the 10MB limit #205

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"

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