jihuaqiang hai 3 horas
pai
achega
5d649174d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/content_finder/server.py

+ 1 - 1
examples/content_finder/server.py

@@ -54,7 +54,7 @@ app = FastAPI(
 scheduler = AsyncIOScheduler()
 
 # 并发控制
-MAX_CONCURRENT_TASKS = int(os.getenv("MAX_CONCURRENT_TASKS", "3"))
+MAX_CONCURRENT_TASKS = int(os.getenv("MAX_CONCURRENT_TASKS", "1"))
 task_semaphore = asyncio.Semaphore(MAX_CONCURRENT_TASKS)
 
 # 统计信息