chore(python): Temporarily extend remote connection timeout (#888)

Context - https://etoai.slack.com/archives/C05NC5YSW5V/p1706371205883149
This commit is contained in:
Ayush Chaurasia
2024-01-29 17:34:33 +05:30
committed by GitHub
parent e5796a4836
commit 5c5e23bbb9

View File

@@ -109,7 +109,7 @@ class RestfulLanceDBClient:
urljoin(self.url, uri),
params=params,
headers=self.headers,
timeout=(10.0, 300.0),
timeout=(120.0, 300.0),
) as resp:
self._check_status(resp)
return resp.json()
@@ -151,7 +151,7 @@ class RestfulLanceDBClient:
urljoin(self.url, uri),
headers=headers,
params=params,
timeout=(10.0, 300.0),
timeout=(120.0, 300.0),
**req_kwargs,
) as resp:
self._check_status(resp)