Update daprdocs/content/en/operations/resiliency/policies.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
greenie-msft 2022-07-06 13:18:46 -07:00 committed by GitHub
parent ac5a5371e5
commit c53e8ee474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -110,7 +110,9 @@ Below is a table that describes Dapr's default retries and the policy keywords t
| Initialization Retries | DaprBuiltInInitializationRetries | Per call retries are performed 3 times with an exponential backoff, an initial interval of 500ms and for a duration of 10s | Failures when making a request to an application to retrieve a given spec. For example, failure to retrieve a subscription, component or resiliency specification |
Example of overriding default retries for Service Invocation:
The resiliency spec example below shows overriding the default retries for _all_ service invocation requests by using the reserved, named keyword 'DaprBuiltInServiceRetries'.
Also defined is a retry policy called 'retryForever' that is only applied to the appB target. appB uses the 'retryForever' retry policy, while all other application service invocation retry failures, use the overridden 'DaprBuiltInServiceRetries' default policy.
```yaml
spec:
policies: