Fix long ingestion and Qdrant compatibility
This commit is contained in:
+5
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user