fixed http timeout

This commit is contained in:
Lucas Oliveira 2025-11-28 18:51:35 -03:00
parent 7977216174
commit d11528e1a9

View file

@ -76,6 +76,8 @@ def _get_http_client() -> Optional[httpx.AsyncClient]:
timeout=httpx.Timeout(
connect=HTTP_CONNECT_TIMEOUT,
read=HTTP_REQUEST_TIMEOUT,
write=HTTP_REQUEST_TIMEOUT,
pool=HTTP_CONNECT_TIMEOUT,
),
headers={
"User-Agent": f"OpenRAG-Backend/{OPENRAG_VERSION}",