From be385a5009e2ee348f3fb4f963dac3a4db0aa613 Mon Sep 17 00:00:00 2001 From: Joan Fontanals <joan.martinez@jina.ai> Date: Tue, 17 Sep 2024 13:44:54 +0200 Subject: [PATCH] fix: pass params to iolet (#6200) --- jina/clients/base/http.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jina/clients/base/http.py b/jina/clients/base/http.py index 24c5f985f7e2e..c10cb40749e27 100644 --- a/jina/clients/base/http.py +++ b/jina/clients/base/http.py @@ -181,6 +181,10 @@ async def _get_results( logger=self.logger, tracer_provider=self.tracer_provider, timeout=timeout, + max_attempts=max_attempts, + initial_backoff=initial_backoff, + max_backoff=max_backoff, + backoff_multiplier=backoff_multiplier, **kwargs, ) ) @@ -191,6 +195,10 @@ async def _get_results( logger=self.logger, tracer_provider=self.tracer_provider, timeout=timeout, + max_attempts=max_attempts, + initial_backoff=initial_backoff, + max_backoff=max_backoff, + backoff_multiplier=backoff_multiplier, **kwargs, ) self.iolet = await self.iolet.__aenter__()