From ddf04a7eb421d57b600aaa20c07b08e94834df89 Mon Sep 17 00:00:00 2001 From: Mert <101130780+mertalev@users.noreply.github.com> Date: Mon, 20 Nov 2023 10:05:35 -0500 Subject: [PATCH] chore(ml): increase spool threshold to 64MiB (#5176) --- machine-learning/app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine-learning/app/main.py b/machine-learning/app/main.py index 2f6902760..bf232071b 100644 --- a/machine-learning/app/main.py +++ b/machine-learning/app/main.py @@ -24,7 +24,7 @@ from .schemas import ( TextResponse, ) -MultiPartParser.max_file_size = 2**24 # spools to disk if payload is 16 MiB or larger +MultiPartParser.max_file_size = 2**26 # spools to disk if payload is 64 MiB or larger app = FastAPI()