diff --git a/backend/src/dashboard/services/hubspot_client_async.py b/backend/src/dashboard/services/hubspot_client_async.py index 574d050..ed0de4a 100644 --- a/backend/src/dashboard/services/hubspot_client_async.py +++ b/backend/src/dashboard/services/hubspot_client_async.py @@ -50,11 +50,8 @@ class HubSpotClientAsync: raise # Exponential backoff with jitter - backoff = min( - self.MAX_BACKOFF, - self.BASE_BACKOFF * (2 ** (attempt - 1)) - ) - jitter = random.uniform(10, 10 + backoff) + backoff = self.BASE_BACKOFF * (2 ** (attempt - 1)) + jitter = random.uniform(self.MIN_BACKOFF, self.MIN_BACKOFF + backoff) self.logger.warning( f"HubSpot retry {attempt}/{self.MAX_RETRIES} "