mirror of https://github.com/dapr/docs.git
Replaced wrong resiliency example definition
This commit is contained in:
parent
2ddafc2080
commit
4fe1ded85e
|
@ -61,27 +61,28 @@ Run the `order-processor` service alongside a Dapr sidecar. The Dapr sidecar the
|
|||
metadata:
|
||||
name: myresiliency
|
||||
scopes:
|
||||
- checkout
|
||||
|
||||
- order-processor
|
||||
|
||||
spec:
|
||||
policies:
|
||||
retries:
|
||||
retryForever:
|
||||
policy: constant
|
||||
maxInterval: 5s
|
||||
maxRetries: -1
|
||||
|
||||
duration: 5s
|
||||
maxRetries: -1
|
||||
|
||||
circuitBreakers:
|
||||
simpleCB:
|
||||
maxRequests: 1
|
||||
timeout: 5s
|
||||
timeout: 5s
|
||||
trip: consecutiveFailures >= 5
|
||||
|
||||
|
||||
targets:
|
||||
apps:
|
||||
order-processor:
|
||||
retry: retryForever
|
||||
circuitBreaker: simpleCB
|
||||
components:
|
||||
statestore:
|
||||
outbound:
|
||||
retry: retryForever
|
||||
circuitBreaker: simpleCB
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue