Skip to content

Commit 31a8967

Browse files
authored
(AzureCXP) fixes MicrosoftDocs/azure-docs#284720
Updated line no: 52 From: interval + (2^count - 1) * random(delta * 0.8, delta * 1.2) To: interval + (2^(count - 1)) * random(delta * 0.8, delta * 1.2)
1 parent 01a6da6 commit 31a8967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/api-management/retry-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The `retry` policy executes its child policies once and then retries their execu
4949

5050
* When only the `interval` is specified, **fixed** interval retries are performed.
5151
* When only the `interval` and `delta` are specified, a **linear** interval retry algorithm is used. The wait time between retries increases according to the following formula: `interval + (count - 1)*delta`.
52-
* When the `interval`, `max-interval` and `delta` are specified, an **exponential** interval retry algorithm is applied. The wait time between the retries increases exponentially according to the following formula: `interval + (2^count - 1) * random(delta * 0.8, delta * 1.2)`, up to a maximum interval set by `max-interval`.
52+
* When the `interval`, `max-interval` and `delta` are specified, an **exponential** interval retry algorithm is applied. The wait time between the retries increases exponentially according to the following formula: `interval + (2^(count - 1)) * random(delta * 0.8, delta * 1.2)`, up to a maximum interval set by `max-interval`.
5353

5454
For example, when `interval` and `delta` are both set to 10 seconds, and `max-interval` is 100 seconds, the approximate wait time between retries increases as follows: 10 seconds, 20 seconds, 40 seconds, 80 seconds, with 100 seconds wait time used for remaining retries.
5555

0 commit comments

Comments
 (0)