diff --git a/backend_py/primary/primary/main.py b/backend_py/primary/primary/main.py index 477d3af50..4e1301b8a 100644 --- a/backend_py/primary/primary/main.py +++ b/backend_py/primary/primary/main.py @@ -70,7 +70,7 @@ async def app_lifespan(app: FastAPI): #app.state.requests_client = httpx.AsyncClient(http2=True, verify=False, limits=limits) #app.state.requests_client = httpx.AsyncClient(verify=False) - app.state.requests_client = httpx.AsyncClient() + app.state.requests_client = httpx.AsyncClient(timeout=300) yield await app.state.requests_client.aclose()