mirror of https://github.com/dapr/docs.git
Update daprdocs/content/en/operations/resiliency/policies.md
Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
parent
ac5a5371e5
commit
c53e8ee474
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue