From bca80939c2b6b639618f90640fddffbd98ab4e75 Mon Sep 17 00:00:00 2001 From: Ayush Chaurasia Date: Mon, 29 Jan 2024 17:34:33 +0530 Subject: [PATCH] chore(python): Temporarily extend remote connection timeout (#888) Context - https://etoai.slack.com/archives/C05NC5YSW5V/p1706371205883149 --- 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 9258d0b2..35c7d4a6 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=(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)