mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-09 13:22:58 +00:00
extend timeout for requests.get and requests.post (#848)
This commit is contained in:
@@ -109,7 +109,7 @@ class RestfulLanceDBClient:
|
||||
urljoin(self.url, uri),
|
||||
params=params,
|
||||
headers=self.headers,
|
||||
timeout=(5.0, 30.0),
|
||||
timeout=(10.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=(5.0, 30.0),
|
||||
timeout=(10.0, 300.0),
|
||||
**req_kwargs,
|
||||
) as resp:
|
||||
self._check_status(resp)
|
||||
|
||||
Reference in New Issue
Block a user