LinearRetry class
Definition
Linear retry.
LinearRetry(backoff=15, retry_total=3, retry_to_secondary=False, random_jitter_range=3, **kwargs)
- Inheritance
-
azure.core.pipeline.policies._base.HTTPPolicyazure.storage.blob._shared.policies.StorageRetryPolicyLinearRetry
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