ExponentialRetry class
Definition
Exponential retry.
ExponentialRetry(initial_backoff=15, increment_base=3, retry_total=3, retry_to_secondary=False, random_jitter_range=3, **kwargs)
- Inheritance
-
azure.core.pipeline.policies._base.HTTPPolicyazure.storage.fileshare._shared.policies.StorageRetryPolicyExponentialRetry
Methods
| get_backoff_time |
Calculates how long to sleep before retrying. |
get_backoff_time
Calculates how long to sleep before retrying.
get_backoff_time(settings)
Parameters
- settings
Required
Returns
An integer indicating how long to wait before retrying the request, or None to indicate no retry should be performed.
Return type
int
None