Explorar el Código

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

Mert hace 1 año
padre
commit
ddf04a7eb4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      machine-learning/app/main.py

+ 1 - 1
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()