Give time for MinIO to respond when transferring large files.
This commit is contained in:
parent
619994c81e
commit
3d80586e26
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue