Fix long ingestion and Qdrant compatibility

This commit is contained in:
george
2026-06-06 12:26:42 +01:00
parent 6fe4d1b9fc
commit cac6a858d0
4 changed files with 9 additions and 4 deletions
+5 -1
View File
@@ -49,7 +49,11 @@ async def run_sync_job(job_id: str, override: bool) -> None:
job["status"] = "running"
job["started_at"] = utc_now()
try:
result = await get_client().post("/sources/sync", json={"override": override})
result = await get_client().post(
"/sources/sync",
json={"override": override},
timeout=None,
)
job["result"] = result
job["status"] = "succeeded" if result.get("success") else "failed"
except Exception as exc: