in src/azstoragetorch/_client.py [0:0]
def _get_backoff_time(self, attempt_number: int) -> float:
# Backoff time uses exponential backoff with full jitter as a starting point to have at least
# some delay before retrying. For exceptions that we get while streaming data, it will likely be
# because of environment's network (e.g. high network load) so the approach will give some amount
# of backoff and randomness before attempting to stream again. In the future, we should
# consider other approaches such as adapting/throttling stream reading speeds to reduce occurrences
# of connection errors due to an overwhelmed network.
return min(random.uniform(0, 2**attempt_number), 20)