Compare commits

...
Author SHA1 Message Date
Chris Bartholomew 31586eab06 Fix Iris parser timeout on cold starts
httpx.AsyncClient() defaults to a 5-second read timeout, which is
too short when the Vectorize API Lambda is cold-starting. Set an
explicit 30-second timeout per HTTP request. The 300-second polling
deadline for the overall extraction job is unchanged.
2026-03-06 17:31:20 -05:00
@@ -62,7 +62,7 @@ class IrisParser(FileParser):
"""
content_type = mimetypes.guess_type(filename)[0] or "application/octet-stream"
async with httpx.AsyncClient() as client:
async with httpx.AsyncClient(timeout=httpx.Timeout(30.0)) as client:
# Step 1: Request a presigned upload URL
init_resp = await client.post(
f"{_IRIS_BASE_URL}/org/{self._org_id}/files",