Skip to content

Commit

Permalink
fix: readd timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanFM committed Sep 15, 2024
1 parent 50e34ca commit ff231ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jina/clients/base/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ async def _is_flow_ready(self, **kwargs) -> bool:
HTTPClientlet(
logger=self.logger,
tracer_provider=self.tracer_provider,
timeout=timeout,
**kwargs,
)
)
Expand All @@ -96,6 +97,7 @@ async def _is_flow_ready(self, **kwargs) -> bool:
self.iolet = HTTPClientlet(
logger=self.logger,
tracer_provider=self.tracer_provider,
timeout=timeout,
**kwargs,
)
await self.iolet.__aenter__()
Expand Down Expand Up @@ -180,6 +182,7 @@ async def _get_results(
HTTPClientlet(
logger=self.logger,
tracer_provider=self.tracer_provider,
timeout=timeout,
**kwargs,
)
)
Expand All @@ -189,6 +192,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__()
Expand Down

0 comments on commit ff231ec

Please sign in to comment.