From 5ecbf971e25917795db299a072e558d54f8439c4 Mon Sep 17 00:00:00 2001 From: QianZhu Date: Mon, 22 Jan 2024 20:31:39 -0800 Subject: [PATCH] extend timeout for requests.get and requests.post (#848) --- python/lancedb/remote/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/lancedb/remote/client.py b/python/lancedb/remote/client.py index 3bafec4b..9258d0b2 100644 --- a/python/lancedb/remote/client.py +++ b/python/lancedb/remote/client.py @@ -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)