#144 Increase max content length limit

This commit is contained in:
Cohee
2023-09-01 14:36:36 +03:00
committed by GitHub
parent fbc01f0cc5
commit 5d51e752f4

View File

@@ -316,7 +316,7 @@ if "chromadb" in modules:
app = Flask(__name__)
CORS(app) # allow cross-domain requests
Compress(app) # compress responses
app.config["MAX_CONTENT_LENGTH"] = 100 * 1024 * 1024
app.config["MAX_CONTENT_LENGTH"] = 500 * 1024 * 1024
max_content_length = (
args.max_content_length