AZSRetryPolicyExponential Class Reference
Inherits from | NSObject |
---|---|
Conforms to | AZSRetryPolicy |
Declared in | AZSRetryPolicy.h AZSRetryPolicy.m |
Overview
A retry policy with an exponentially increasing wait time between retries.
This policy will evaluate whether or not the request should be retried depending on the HTTP status code of the response. If the status code indicates that the request should be retried, it will specify an exponentially increasing wait time (each retry will wait roughly twice as long as the prior one.) This policy has a hard-coded minimum of 0.01 seconds, and maximum of 120 seconds, regardless of retry count or backOffDelta.
Time intervals are slightly randomized.
This should be the default policy for most operations. This policy works best when the service is throttling an account due to overuse.