Browse Source

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

Mert 1 year ago
parent
commit
ddf04a7eb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      machine-learning/app/main.py

+ 1 - 1
machine-learning/app/main.py

@@ -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()