diff --git a/nginx_request_checker.py b/nginx_request_checker.py index 9c7fbd0..c65c992 100644 --- a/nginx_request_checker.py +++ b/nginx_request_checker.py @@ -63,7 +63,7 @@ async def proxy_request(path: str, request: Request): return Response(content=error_xml, status_code=403, media_type="application/xml") # Proxy request to MinIO - async with httpx.AsyncClient() as client: + async with httpx.AsyncClient(timeout=300.0) as client: minio_url = f"{MINIO_ENDPOINT}/{path}" headers = dict(request.headers) body = await request.body()