Skip to content

Commit 3833ceb

Browse files
committed
Parse the correct timeouts to httpx client
1 parent 257c237 commit 3833ceb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

weaviate/connect/v4.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ def __make_async_client(self) -> AsyncClient:
220220
return AsyncClient(
221221
headers=self._headers,
222222
timeout=Timeout(
223-
None, connect=self.timeout_config.query, read=self.timeout_config.insert
223+
None,
224+
connect=self.timeout_config.init,
225+
read=self.timeout_config.query,
226+
write=self.timeout_config.insert,
224227
),
225228
mounts=self.__make_mounts(),
226229
)

0 commit comments

Comments
 (0)