1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

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

This commit is contained in:
Mert 2023-11-20 10:05:35 -05:00 committed by GitHub
parent acf099e481
commit ddf04a7eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ from .schemas import (
TextResponse, 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() app = FastAPI()