Increase ASR timeout to 300s

This commit is contained in:
2026-03-24 01:11:13 +00:00
parent e51bcf1145
commit e69b42fc19

View File

@@ -146,7 +146,7 @@ def transcribe_chunk_fish(chunk_path, api_key, start_offset_sec):
},
method="POST",
)
with urllib.request.urlopen(req, timeout=120) as resp:
with urllib.request.urlopen(req, timeout=300) as resp:
data = json.loads(resp.read().decode())
# Adjust timestamps by the chunk's start offset