diff --git a/py2/sendemail.py b/py2/sendemail.py index 9a8f5280..08fc9f9d 100644 --- a/py2/sendemail.py +++ b/py2/sendemail.py @@ -29,7 +29,7 @@ import settings app = flask.Flask(__name__) # Parsing very large messages could cause out-of-memory errors. -MAX_BODY_SIZE = 100 * 1024 +MAX_BODY_SIZE = 20 * 1024 * 1024 # 20 MB def require_task_header():