Skip to content

High performance self-hosted photo and video management solution.

chore(ml): increase spool threshold to 64MiB (#5176)

Mertddf04a7eb421
diff --git a/machine-learning/app/main.py b/machine-learning/app/main.py
index 2f6902760d..bf232071b9 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()