Commit 9f8ab49
Changed files (1)
src
asr
src/asr/tecent.py
@@ -200,7 +200,7 @@ async def tencent_file_chunks(
return {"error": "Failed to load audio."}
transcription = {}
- semaphore = asyncio.Semaphore(30) # max concurrent requests
+ semaphore = asyncio.Semaphore(10) # max concurrent requests
async def run_with_semaphore(task: Coroutine[Any, Any, dict]) -> dict:
async with semaphore: