From 523d107c9ae7421a8ac05f8cf4ad122bceac7a3f Mon Sep 17 00:00:00 2001 From: Daniel D Date: Tue, 18 Nov 2025 10:49:30 +0100 Subject: [PATCH] PUBLICAPI-976: renewal attempt fix --- src/nebius/aio/token/renewable.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nebius/aio/token/renewable.py b/src/nebius/aio/token/renewable.py index 3e6ca2ec..ced836bb 100644 --- a/src/nebius/aio/token/renewable.py +++ b/src/nebius/aio/token/renewable.py @@ -409,6 +409,7 @@ async def _fetch_once(self) -> Token: the cached token on success. """ tok = None + self._renewal_attempt += 1 log.debug(f"refreshing token, attempt {self._renewal_attempt}") self._break_previous_attempt.clear() self._synchronous_can_proceed.clear()