Explorar o código

Use default AnyIO pool size

Juan Calderon-Perez hai 6 meses
pai
achega
62f87c2e38
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      backend/open_webui/config.py

+ 1 - 1
backend/open_webui/config.py

@@ -1204,7 +1204,7 @@ ENABLE_USER_WEBHOOKS = PersistentConfig(
 )
 
 # FastAPI / AnyIO settings
-THREAD_POOL_SIZE = int(os.getenv("THREAD_POOL_SIZE", "64"))
+THREAD_POOL_SIZE = int(os.getenv("THREAD_POOL_SIZE", "0"))
 
 
 def validate_cors_origins(origins):