The retry.py module#

Summary#

retry

Provides a decorator for retrying a function call with exponential backoff.

Description#

Provides utilities for implementing retry mechanisms in the Ansys HPS data transfer client.

This module includes functionality for handling transient errors and ensuring robust and reliable operations during data transfer.

Module detail#

retry.retry(max_tries=_lookup_max_tries, max_time=_lookup_max_time, raise_on_giveup=True, jitter=backoff.full_jitter)#

Provides a decorator for retrying a function call with exponential backoff.

retry.log#
retry.max_tries_env_name = 'ANSYS_DT_CLIENT_RETRY_MAX_TIME'#
retry.max_time_env_name = 'ANSYS_DT_CLIENT_RETRY_MAX_TRIES'#