From ef11cf705795cbf71ad172044c2e060fc4b6331c Mon Sep 17 00:00:00 2001 From: Joan Fontanals Date: Sun, 15 Sep 2024 21:21:29 +0200 Subject: [PATCH] fix: readd timeout (#6199) --- jina/clients/base/http.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jina/clients/base/http.py b/jina/clients/base/http.py index eaac304695403..24c5f985f7e2e 100644 --- a/jina/clients/base/http.py +++ b/jina/clients/base/http.py @@ -180,6 +180,7 @@ async def _get_results( HTTPClientlet( logger=self.logger, tracer_provider=self.tracer_provider, + timeout=timeout, **kwargs, ) ) @@ -189,6 +190,7 @@ async def _get_results( self.iolet = HTTPClientlet( logger=self.logger, tracer_provider=self.tracer_provider, + timeout=timeout, **kwargs, ) self.iolet = await self.iolet.__aenter__()